gnu: python-jsonpatch: Don't use unstable tarball.

* gnu/packages/python-xyz.scm (python-jsonpatch)[source]: Download using
git-fetch.
This commit is contained in:
Efraim Flashner 2020-01-06 09:01:41 +02:00
parent 11e46326e3
commit 854c5c9565
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -13316,14 +13316,15 @@ (define-public python-jsonpatch
(version "1.16")
(source
(origin
(method url-fetch)
(method git-fetch)
;; pypi version lacks tests.js
(uri (string-append "https://github.com/stefankoegl/python-json-patch/"
"archive/v" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(uri (git-reference
(url "https://github.com/stefankoegl/python-json-patch")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"085ykisl8v7mv9h7hvhdy3l2fjzs4214gx32r5k6nx4f76hbv6y5"))))
"0k9pff06lxama3nhsc7cdxbp83422bdy8ifs52i6xkas8hpyzfzr"))))
(build-system python-build-system)
(native-inputs
`(("python-jsonpointer" ,python-jsonpointer)))