summary refs log tree commit diff
path: root/gnu/packages/package-management.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-01-06 12:17:47 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-01-06 12:20:20 +0200
commit837da4d36ec0b0ee65ddd9cda7f6980ca62f434c (patch)
tree741c89b553f806d7bf2e77838c40208b3d168668 /gnu/packages/package-management.scm
parent6def31e8fd5b5ba1ef06394257bfde610c2cfd18 (diff)
downloadguix-837da4d36ec0b0ee65ddd9cda7f6980ca62f434c.tar.gz
gnu: python-anaconda-client: Don't use unstable tarball.
* gnu/packages/package-management.scm (python-anaconda-client)[source]:
Download using git-fetch.
Diffstat (limited to 'gnu/packages/package-management.scm')
-rw-r--r--gnu/packages/package-management.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index b82e2d8b3d..0e4f644f80 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -566,13 +566,14 @@ transactions from C or Python.")
     (version "1.6.3")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/Anaconda-Platform/"
-                           "anaconda-client/archive/" version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/Anaconda-Platform/anaconda-client")
+              (commit version)))
+       (file-name (git-file-name name version))
        (sha256
         (base32
-         "1wv4wi6k5jz7rlwfgvgfdizv77x3cr1wa2aj0k1595g7fbhkjhz2"))))
+         "0w1bfxnydjl9qp53r2gcvr6vlpdqqilcrzqxrll9sgg6vwdyiyyp"))))
     (build-system python-build-system)
     (propagated-inputs
      `(("python-pyyaml" ,python-pyyaml)