gnu: python: Graft secure package.

* gnu/packages/python.scm (python/fixed): Add new variable.
(python): Graft python/fixed.

Change-Id: I8b1537a64be1984c52170ba3f2fbdca5737290e8
This commit is contained in:
Hartmut Goebel 2025-10-12 20:09:14 +02:00
parent 77f9e9c45c
commit a2590694ae
No known key found for this signature in database
GPG key ID: 634A8DFFD3F631DF

View file

@ -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")