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

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

View File

@ -6750,14 +6750,15 @@ Python Package Index (PyPI).")
(name "python-tlsh")
(version "3.4.5")
(home-page "https://github.com/trendmicro/tlsh")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/trendmicro/tlsh/archive/v"
version ".tar.gz"))
(sha256
(base32
"1x1vahd4zg5kpyr9h9hs3fvh460p25rjy4cclwdnbbw8x3vc30q3"))
(file-name (string-append name "-" version ".tar.gz"))))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/trendmicro/tlsh.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1ydliir308xn4ywy705mmsh7863ldlixdvpqwdhbipzq9vfpmvll"))))
(build-system cmake-build-system)
(arguments
'(#:out-of-source? #f