summaryrefslogtreecommitdiff
path: root/gnu/packages/python.scm
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2025-10-12 20:09:14 +0200
committerHartmut Goebel <h.goebel@crazy-compilers.com>2025-10-15 22:03:05 +0200
commita2590694ae0350f9d7400f6f6f41fdbac2fa5340 (patch)
tree705459be0d370739c8bc8f43239dccb48bba96ad /gnu/packages/python.scm
parent77f9e9c45c9cd522b226baedaa979295bd997f9a (diff)
gnu: python: Graft secure package.
* gnu/packages/python.scm (python/fixed): Add new variable. (python): Graft python/fixed. Change-Id: I8b1537a64be1984c52170ba3f2fbdca5737290e8
Diffstat (limited to 'gnu/packages/python.scm')
-rw-r--r--gnu/packages/python.scm11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 5483283ea65..881fc6364cf 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -678,6 +678,7 @@ def contents() -> str:
(inherit python-3.10)
(name "python")
(version "3.11.11")
+ (replacement python-3.11/fixed)
(source (origin
(method url-fetch)
(uri (string-append "https://www.python.org/ftp/python/"
@@ -1080,6 +1081,16 @@ def contents() -> str:
(variable "PYTHONTZPATH")
(files (list "share/zoneinfo")))))))
+(define-public python-3.11/fixed
+ (package/inherit python-3.11
+ (version "3.11.14")
+ (source (origin
+ (inherit (package-source python-3.11))
+ (uri (string-append "https://www.python.org/ftp/python/" version
+ "/Python-" version ".tar.xz"))
+ (sha256 (base32
+ "0y4v42qm66nvizjxbnixh59283a54nki51jmbrgwkhc8bkndhgld"))))))
+
(define-public python-3.12
(package
(name "python-next")