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

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

View File

@ -13102,13 +13102,13 @@ executed more than a given number of times during a given period.")
(version "0.3") (version "0.3")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/kovidgoyal/dukpy/archive/v" (uri (git-reference
version ".tar.gz")) (url "https://github.com/kovidgoyal/dukpy.git")
(file-name (string-append name "-" version ".tar.gz")) (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "13h21nqzasv4zj32xs61brmc106pr2cx243672crcmwxxnjgaxls"))))
"0pj39rfwlzivqm5hkrsza7gssg6ggpxlq5ivc8f3h7x5pfgc6y6c"))))
(build-system python-build-system) (build-system python-build-system)
(home-page "https://github.com/kovidgoyal/dukpy") (home-page "https://github.com/kovidgoyal/dukpy")
(synopsis "Run JavaScript in python") (synopsis "Run JavaScript in python")