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

* gnu/packages/python-xyz.scm (python-glob2)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-04-09 00:01:52 +02:00
parent 5b77ebe15c
commit 8fa2bcc793
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 9 additions and 10 deletions

View File

@ -14175,16 +14175,15 @@ manager compatible with @code{asyncio}.")
(package (package
(name "python-glob2") (name "python-glob2")
(version "0.6") (version "0.6")
(source (origin (source
(method url-fetch) (origin
(uri (string-append (method git-fetch)
"https://github.com/miracle2k/python-glob2/archive/" (uri (git-reference
version (url "https://github.com/miracle2k/python-glob2.git")
".tar.gz")) (commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "1lm1xz3k3l0k1c5bcp9hlzmi3gp5j8dl1k3xhpiq5mnm0xq6n163"))))
"0ja168f0dz4kbz4m06dm0rd3acaypk6hjx2km541pw22y9s40mag"))
(file-name (string-append name "-" version ".tar.gz"))))
(build-system python-build-system) (build-system python-build-system)
(home-page "https://github.com/miracle2k/python-glob2/") (home-page "https://github.com/miracle2k/python-glob2/")
(synopsis "Extended Version of the python buildin glob module") (synopsis "Extended Version of the python buildin glob module")