diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2019-04-09 00:01:16 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2019-04-11 05:42:39 +0200 |
commit | 3e3ff8ad13a4990369a87b83dec72d5db9646628 (patch) | |
tree | 1cb8f21f61c4a4e0ff4009b56b0cfdb16b11d99c /gnu/packages/python-xyz.scm | |
parent | 8524d13011e7ca010df2cf9aa4c0f35310a31482 (diff) | |
download | patches-3e3ff8ad13a4990369a87b83dec72d5db9646628.tar patches-3e3ff8ad13a4990369a87b83dec72d5db9646628.tar.gz |
gnu: python-tlsh: Don't use unstable tarball.
* gnu/packages/python-xyz.scm (python-tlsh)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r-- | gnu/packages/python-xyz.scm | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 373be2a82c..f3409707ba 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -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 |