gnu: masscan: Don't use unstable tarball.

* gnu/packages/admin.scm (masscan)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2018-12-23 10:47:18 +01:00
parent ab213bfd04
commit e956d76ddb
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 9 additions and 8 deletions

View File

@ -2565,14 +2565,15 @@ on systems running the Linux kernel.")
(package (package
(name "masscan") (name "masscan")
(version "1.0.5") (version "1.0.5")
(source (origin (source
(method url-fetch) (origin
(uri (string-append "https://github.com/robertdavidgraham/masscan" (method git-fetch)
"/archive/" version ".tar.gz")) (uri (git-reference
(file-name (string-append name "-" version ".tar.gz")) (url "https://github.com/robertdavidgraham/masscan.git")
(sha256 (commit version)))
(base32 (file-name (git-file-name name version))
"0wxddsgyx27z45906icdhdbfsvfj8ij805208qpqjx46i0lnjs50")))) (sha256
(base32 "0q0c7bsf0pbl8napry1qyg0gl4pd8wn872h4mz9b56dx4rx90vqg"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("libpcap" ,libpcap))) `(("libpcap" ,libpcap)))