2022-07-06 14:13:26 +02:00
|
|
|
(define-module (glicid packages python)
|
|
|
|
#:use-module (guix download)
|
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module ((gnu packages python) #:prefix gnu:)
|
|
|
|
)
|
|
|
|
|
2022-07-06 15:59:21 +02:00
|
|
|
(define-public python-3.9
|
2022-07-06 14:13:26 +02:00
|
|
|
(package
|
2022-07-06 15:59:21 +02:00
|
|
|
(inherit gnu:python-3.9)
|
2022-07-06 14:13:26 +02:00
|
|
|
(name "python")
|
2022-07-06 15:59:21 +02:00
|
|
|
(version "3.9.13")
|
2022-07-06 14:13:26 +02:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://www.python.org/ftp/python/" version "/Python-" version ".tar.xz"))
|
2022-07-06 15:59:21 +02:00
|
|
|
(sha256 (base32 "03q8lcb476a9n41nih9qvwf1fzfzjbvq6vj0cnmd458yixchqnqj"))
|
2022-07-06 14:13:26 +02:00
|
|
|
)
|
|
|
|
)
|
2022-09-20 09:22:27 +02:00
|
|
|
(arguments
|
|
|
|
(substitute-keyword-arguments (package-arguments gnu:python-3.9)
|
|
|
|
((#:tests? _ #f)
|
|
|
|
;; FIXME: To run the test suite, fix all the instances where scripts
|
|
|
|
;; generates "#! /bin/sh" shebangs.
|
|
|
|
#f)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2022-07-06 14:13:26 +02:00
|
|
|
)
|
|
|
|
)
|
2022-09-01 11:08:00 +02:00
|
|
|
|
|
|
|
;(define-public python-3.10
|
|
|
|
; (package
|
|
|
|
; (inherit python-3.9)
|
|
|
|
; (name "python")
|
|
|
|
; (version "3.10.6")
|
|
|
|
; (source
|
|
|
|
; (origin
|
|
|
|
; (method url-fetch)
|
|
|
|
; (uri (string-append "https://www.python.org/ftp/python/" version "/Python-" version ".tar.xz"))
|
|
|
|
; (sha256 (base32 "1wyknqk46ay2k05118isb2jdhj46qaq5325w6dy0qjqxs63zz5gp"))
|
|
|
|
; )
|
|
|
|
; )
|
|
|
|
; )
|
|
|
|
;)
|