aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-04-09 00:01:16 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2019-04-11 05:42:39 +0200
commit3e3ff8ad13a4990369a87b83dec72d5db9646628 (patch)
tree1cb8f21f61c4a4e0ff4009b56b0cfdb16b11d99c /gnu/packages/python-xyz.scm
parent8524d13011e7ca010df2cf9aa4c0f35310a31482 (diff)
downloadpatches-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.scm17
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