mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-22 10:16:45 +01:00
gnu: python2-cloudpickle: Override version, source, and native-inputs.
* gnu/packages/python-xyz.scm (python2-cloudpickle)[version]: Explicitly set to 1.3.0. [source]: Copy from base package. [native-inputs]: Do not inherit; copy.
This commit is contained in:
parent
c486a61c27
commit
2422fbf6b2
1 changed files with 13 additions and 2 deletions
|
@ -21475,9 +21475,20 @@ (define-public python-cloudpickle
|
|||
(define-public python2-cloudpickle
|
||||
(let ((base (package-with-python2 (strip-python2-variant python-cloudpickle))))
|
||||
(package/inherit base
|
||||
(version "1.3.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "cloudpickle" version))
|
||||
(sha256
|
||||
(base32
|
||||
"0lx7gy9clp427qwcm7b23zdsldpr03gy3vxxhyi8fpbhwz859brq"))))
|
||||
(native-inputs
|
||||
`(("python-mock" ,python2-mock)
|
||||
,@(package-native-inputs base)))
|
||||
`(;; For tests.
|
||||
("python-mock" ,python2-mock)
|
||||
("python-psutil" ,python2-psutil)
|
||||
("python-pytest" ,python2-pytest)
|
||||
("python-tornado" ,python2-tornado)))
|
||||
(propagated-inputs
|
||||
`(("python-futures" ,python2-futures)
|
||||
,@(package-propagated-inputs base))))))
|
||||
|
|
Loading…
Reference in a new issue