summary refs log tree commit diff
path: root/gnu/packages/python-crypto.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-01-06 11:49:37 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-01-06 11:49:37 +0200
commit263ea4ebc30ee360e3422b70a3404c8330351566 (patch)
tree30ff9611e18f99891c032149fae69d5cebe16dfa /gnu/packages/python-crypto.scm
parent2ff17f06e7afc733b2459d563b0173f3fa346611 (diff)
downloadguix-263ea4ebc30ee360e3422b70a3404c8330351566.tar.gz
gnu: python-axolotl: Don't use unstable tarball.
* gnu/packages/python-crypto.scm (python-axolotl)[source]: Download
using git-fetch.
Diffstat (limited to 'gnu/packages/python-crypto.scm')
-rw-r--r--gnu/packages/python-crypto.scm14
1 files changed, 7 insertions, 7 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 63d3be17c2..43a0d95ddc 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -1,6 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
-;;; Copyright © 2015, 2016, 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2015, 2016, 2017, 2019 Leo Famulari <leo@famulari.name>
 ;;; Copyright © 2016, 2017 Marius Bakke <mbakke@fastmail.com>
 ;;; Copyright © 2017 Ben Sturmfels <ben@sturm.com.au>
@@ -533,14 +533,14 @@ python-axolotl.")
     (version "0.1.39")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append
-             "https://github.com/tgalal/python-axolotl/archive/"
-             version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/tgalal/python-axolotl")
+              (commit version)))
+       (file-name (git-file-name name version))
        (patches (search-patches "python-axolotl-AES-fix.patch"))
        (sha256
-        (base32 "0badsgkgz0ir3hqynxzsfjgacppi874syvvmgccc6j164053x6zm"))))
+        (base32 "0xm9qgcwf6fq7rhzfcviwhbzcbj4i7wkxkab2z55fy1x82lya9g6"))))
     (build-system python-build-system)
     (arguments
      `(#:phases