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:
Ricardo Wurmus 2021-07-28 14:42:36 +02:00
parent c486a61c27
commit 2422fbf6b2
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

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