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
1 changed files with 8 additions and 7 deletions

View File

@ -3522,12 +3522,13 @@ To address this and enable easy cycling over arbitrary @code{kwargs}, the
(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))
(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 "1vflh5jm32qb0skza2i8pjacv09w6gq84fqpp2nj77s0rbmzgr4k"))))
(base32 "0g0lxqiscy5g5rq9421vv7abg0c90jzy0zmas2z3hya6k2dr5aid"))))
(build-system python-build-system)
(propagated-inputs
`(("python-numpy" ,python-numpy)))