aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-01-06 09:01:41 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-01-06 09:01:41 +0200
commit854c5c95651ef9ab454d2e677dcb12bcf9f8f9b2 (patch)
tree0ee7d0aa109db5c60f9295584e5fcfbbffe79acc /gnu
parent11e46326e38c79734b694cd9483e12b2106f4d19 (diff)
downloadpatches-854c5c95651ef9ab454d2e677dcb12bcf9f8f9b2.tar
patches-854c5c95651ef9ab454d2e677dcb12bcf9f8f9b2.tar.gz
gnu: python-jsonpatch: Don't use unstable tarball.
* gnu/packages/python-xyz.scm (python-jsonpatch)[source]: Download using git-fetch.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index af435e32ed..f1d494157d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13316,14 +13316,15 @@ by path in a JSON document (see RFC 6901).")
(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)))