gnu: hashcat-utils: Update to 1.9.

And trim lines to 80 characters.

* gnu/packages/password-utils.scm (hashcat-utils): Update to 1.9.
[source]: Parametrise.
This commit is contained in:
Tobias Geerinckx-Rice 2018-10-28 02:35:09 +02:00
parent 2792d8a865
commit 2b9b4b1fe3
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 15 additions and 11 deletions

View File

@ -735,15 +735,15 @@ password cracking.")
(define-public hashcat-utils (define-public hashcat-utils
(package (package
(name "hashcat-utils") (name "hashcat-utils")
(version "1.8") (version "1.9")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/hashcat/hashcat-utils/releases/download/v" (uri (string-append "https://github.com/hashcat/hashcat-utils/releases/"
version "/hashcat-utils-1.8.7z")) "download/v" version "/"
"hashcat-utils-" version ".7z"))
(sha256 (sha256
(base32 (base32 "0kq555kb338691qd7zjmi8vhq4km3apnsl2w63zh0igwzcjx6lx1"))))
"1x80rngjz7gkhwplhw1iqr0wzb6hjkrjfld2kz9kmgp5dr9nys1p"))))
(native-inputs (native-inputs
`(("p7zip" ,p7zip))) `(("p7zip" ,p7zip)))
(inputs (inputs
@ -767,11 +767,15 @@ password cracking.")
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let ((out (string-append (assoc-ref outputs "out") "/bin"))) (let ((out (string-append (assoc-ref outputs "out") "/bin")))
(mkdir-p out) (mkdir-p out)
(for-each (lambda (file) (for-each
(copy-file file (string-append out "/" (basename file ".bin")))) (lambda (file)
(copy-file file (string-append out "/"
(basename file ".bin"))))
(find-files "." "\\.bin$")) (find-files "." "\\.bin$"))
(for-each (lambda (file) (for-each
(copy-file file (string-append out "/" (basename file ".pl")))) (lambda (file)
(copy-file file (string-append out "/"
(basename file ".pl"))))
(find-files "../bin" "\\.pl$")) (find-files "../bin" "\\.pl$"))
#t)))))) #t))))))
(home-page "https://github.com/hashcat/hashcat-utils/") (home-page "https://github.com/hashcat/hashcat-utils/")