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

* gnu/packages/python-xyz.scm (python-schematics)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
master
Tobias Geerinckx-Rice 2019-04-09 00:01:26 +02:00
parent 3e3ff8ad13
commit 1961d18791
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 11 additions and 10 deletions

View File

@ -10239,20 +10239,21 @@ discovery, monitoring and configuration.")
(name "python-schematics")
(version "1.1.1")
(source
(origin
(method url-fetch)
(uri (string-append
"https://github.com/schematics/schematics/archive/v" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"19v1i69bf3bzarfxmbv0v6ivpcn758x3shvbiy9l2hy0lvqwnp6l"))))
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/schematics/schematics.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0xdqskycznqc7mfp60bhw1zq8wx7yx1dvmbq3brnm1dx3xnqa0zd"))))
(build-system python-build-system)
(propagated-inputs
`(("python-six" ,python-six)))
(arguments
`(#:tests? #f)) ; requires a bunch of not very nice packages with fixed
; version requirements (eg python-coveralls)
;; The tests require a bunch of not very nice packages with fixed
;; version requirements (e.g. python-coveralls).
`(#:tests? #f))
(home-page "https://github.com/schematics/schematics")
(synopsis "Python Data Structures for Humans")
(description "Python Data Structures for Humans.")