summary refs log tree commit diff
path: root/gnu/packages/python-crypto.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2018-07-23 16:40:21 +0300
committerEfraim Flashner <efraim@flashner.co.il>2018-07-23 22:03:33 +0300
commitd3b7feb7b9cbaa5ab08942ff1331d734c5193f33 (patch)
treed7bb261c548380470a8f83a697120fd59b3b9930 /gnu/packages/python-crypto.scm
parent8fca43e2df08fc465a44e200bd5df4b14c0aa213 (diff)
downloadguix-d3b7feb7b9cbaa5ab08942ff1331d734c5193f33.tar.gz
gnu: python-asn1crypto: Don't use unstable tarball.
* gnu/packages/python-crypto.scm (python-asn1crypto)[source]: Replace
autogenerated tarball with git checkout.
Diffstat (limited to 'gnu/packages/python-crypto.scm')
-rw-r--r--gnu/packages/python-crypto.scm13
1 files changed, 7 insertions, 6 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 2d865a92b3..3c0fa6b21e 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 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2015, 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2015, 2016, 2017 Leo Famulari <leo@famulari.name>
 ;;; Copyright © 2016, 2017 Marius Bakke <mbakke@fastmail.com>
 ;;; Copyright © 2017 Ben Sturmfels <ben@sturm.com.au>
@@ -613,13 +613,14 @@ ECB and OFB).")
     (version "0.22.0")
     (source
       (origin
-        (method url-fetch)
-        (uri (string-append "https://github.com/wbond/asn1crypto/archive/"
-                            version ".tar.gz"))
-        (file-name (string-append name "-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/wbond/asn1crypto.git")
+              (commit version)))
+        (file-name (git-file-name name version))
         (sha256
          (base32
-          "1kn910896l3knmilla1c9ly20q181s43w1ah08lzkbm1h3j6pcz0"))))
+          "1n5chs5wzf1v8aii6z80dnwywjv6prk0wydamyn65kxg586wqqlf"))))
     (build-system python-build-system)
     (home-page "https://github.com/wbond/asn1crypto")
     (synopsis "ASN.1 parser and serializer in Python")