gnu: python-asn1crypto: Don't use unstable tarball.

* gnu/packages/python-crypto.scm (python-asn1crypto)[source]: Replace
autogenerated tarball with git checkout.
This commit is contained in:
Efraim Flashner 2018-07-23 16:40:21 +03:00
parent 8fca43e2df
commit d3b7feb7b9
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr> ;;; 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 © 2015, 2016, 2017 Leo Famulari <leo@famulari.name>
;;; Copyright © 2016, 2017 Marius Bakke <mbakke@fastmail.com> ;;; Copyright © 2016, 2017 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2017 Ben Sturmfels <ben@sturm.com.au> ;;; Copyright © 2017 Ben Sturmfels <ben@sturm.com.au>
@ -613,13 +613,14 @@ (define-public python-asn1crypto
(version "0.22.0") (version "0.22.0")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/wbond/asn1crypto/archive/" (uri (git-reference
version ".tar.gz")) (url "https://github.com/wbond/asn1crypto.git")
(file-name (string-append name "-" version ".tar.gz")) (commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1kn910896l3knmilla1c9ly20q181s43w1ah08lzkbm1h3j6pcz0")))) "1n5chs5wzf1v8aii6z80dnwywjv6prk0wydamyn65kxg586wqqlf"))))
(build-system python-build-system) (build-system python-build-system)
(home-page "https://github.com/wbond/asn1crypto") (home-page "https://github.com/wbond/asn1crypto")
(synopsis "ASN.1 parser and serializer in Python") (synopsis "ASN.1 parser and serializer in Python")