diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2018-12-23 10:47:18 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2019-02-08 23:50:57 +0100 |
commit | e956d76ddb6448ded1add1f74a4ed8f68e8f6029 (patch) | |
tree | 0342a16a244d6d5cf63e671b64d530e9ae96af20 /gnu | |
parent | ab213bfd0471736bb9fc6ef922d26be26328599d (diff) | |
download | guix-e956d76ddb6448ded1add1f74a4ed8f68e8f6029.tar guix-e956d76ddb6448ded1add1f74a4ed8f68e8f6029.tar.gz |
gnu: masscan: Don't use unstable tarball.
* gnu/packages/admin.scm (masscan)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/admin.scm | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 01af6d3895..bb6bcaea9b 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -2565,14 +2565,15 @@ on systems running the Linux kernel.") (package (name "masscan") (version "1.0.5") - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/robertdavidgraham/masscan" - "/archive/" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0wxddsgyx27z45906icdhdbfsvfj8ij805208qpqjx46i0lnjs50")))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/robertdavidgraham/masscan.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0q0c7bsf0pbl8napry1qyg0gl4pd8wn872h4mz9b56dx4rx90vqg")))) (build-system gnu-build-system) (inputs `(("libpcap" ,libpcap))) |