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

* gnu/packages/python-xyz.scm (python-colorspacious)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-03-20 04:57:38 +01:00
parent c74da2b6c4
commit dee92e65a2
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -3521,13 +3521,14 @@ (define-public python-colorspacious
(name "python-colorspacious")
(version "1.1.0")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/njsmith/colorspacious/archive/v"
version ".tar.gz"))
(file-name (string-append name "-" version))
(sha256
(base32 "1vflh5jm32qb0skza2i8pjacv09w6gq84fqpp2nj77s0rbmzgr4k"))))
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/njsmith/colorspacious.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0g0lxqiscy5g5rq9421vv7abg0c90jzy0zmas2z3hya6k2dr5aid"))))
(build-system python-build-system)
(propagated-inputs
`(("python-numpy" ,python-numpy)))