summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-01-06 09:03:17 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-01-06 09:03:17 +0200
commita9722d0dbf03ad43156711ecd3ed4d21dfe649e1 (patch)
treeb5c56a6d5af1457be16ec21262c10e328dc9f4bd
parent854c5c95651ef9ab454d2e677dcb12bcf9f8f9b2 (diff)
downloadguix-a9722d0dbf03ad43156711ecd3ed4d21dfe649e1.tar.gz
gnu: python-jsonpatch-0.4: Don't use unstable tarball.
* gnu/packages/python-xyz.scm (python-jsonpatch-0.4)[source]: Download
using git-fetch.
-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 f1d494157d..72a72bbe50 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13343,13 +13343,14 @@ applying JSON Patches according to RFC 6902.")
     (version "0.4")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/stefankoegl/python-json-patch/"
-                           "archive/v" version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (method git-fetch)
+       (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
-         "0j0cd9z9zyp8kppp464jxrfgrnbgkzl1yi10i5gsv8yz6d95929d"))))))
+         "1fq02y57kinyknxjcav0slcb0k9mwdffqw2hnlhdkpj7palh2mwk"))))))
 
 (define-public python2-jsonpatch-0.4
   (package-with-python2 python-jsonpatch-0.4))