[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
23/27: gnu: hashcat: Rewrite with G-exps.
From: |
guix-commits |
Subject: |
23/27: gnu: hashcat: Rewrite with G-exps. |
Date: |
Sun, 4 Sep 2022 17:20:33 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit aed1c2f794bb15c6b9058783fc60a19a69972b6f
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Sat Sep 3 14:08:26 2022 +0200
gnu: hashcat: Rewrite with G-exps.
This is required for cross-compilation, as %output does not exist when
cross-compiling.
* gnu/packages/password-utils.scm (hashcat)[arguments]: Rewrite with G-exps.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/password-utils.scm | 26 ++++++++++++--------------
1 file changed, 12 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 2c7156db93..343ec07ad5 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -1132,20 +1132,18 @@ your online accounts makes it necessary.")
(native-inputs (list opencl-headers))
(build-system gnu-build-system)
(arguments
- '(#:tests? #f ;no tests
- #:make-flags (list (string-append "PREFIX=" %output)
- ;; TODO: unbundle
- ;; (string-append "USE_SYSTEM_LZMA=1")
- (string-append "USE_SYSTEM_ZLIB=1")
- (string-append "USE_SYSTEM_OPENCL=1")
- (string-append "USE_SYSTEM_XXHASH=1"))
- #:phases (modify-phases %standard-phases
- ;; Don't embed timestamps, for bit-for-bit reproducibility.
- (add-after 'unpack 'fix-reproducibility
- (lambda _
- (substitute* "src/Makefile"
- (("\\$\\(shell date \\+%s\\)") "0"))))
- (delete 'configure))))
+ (list #:tests? #f ;no tests
+ #:make-flags #~(list (string-append "PREFIX=" #$output)
+ (string-append "USE_SYSTEM_ZLIB=1")
+ (string-append "USE_SYSTEM_OPENCL=1")
+ (string-append "USE_SYSTEM_XXHASH=1"))
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-reproducibility
+ (lambda _
+ (substitute* "src/Makefile"
+ (("\\$\\(shell date \\+%s\\)")
+ "0"))))
+ (delete 'configure))))
(home-page "https://hashcat.net/hashcat/")
(synopsis "Advanced password recovery utility")
(description
- 06/27: guix system: Do not use 'vm-image.tmpl' in tests., (continued)
- 06/27: guix system: Do not use 'vm-image.tmpl' in tests., guix-commits, 2022/09/04
- 07/27: gnu: stex: Update to 1.2.2-2.afa6075., guix-commits, 2022/09/04
- 09/27: etc: teams: Add racket team., guix-commits, 2022/09/04
- 10/27: etc: teams: Add entry for Philip McGrath., guix-commits, 2022/09/04
- 15/27: gnu: chez-scheme: Make bootfiles regular inputs., guix-commits, 2022/09/04
- 17/27: gnu: racket: Support cross-compiling the VM packages., guix-commits, 2022/09/04
- 18/27: gnu: chez-scheme-for-racket: Support all systems., guix-commits, 2022/09/04
- 19/27: gnu: racket-vm-bc: Add workaround for ppc64le., guix-commits, 2022/09/04
- 22/27: gnu: hashcat: Unbundle everything but LZMA-SDK., guix-commits, 2022/09/04
- 24/27: gnu: hashcat: Fix cross-compilation., guix-commits, 2022/09/04
- 23/27: gnu: hashcat: Rewrite with G-exps.,
guix-commits <=
- 26/27: gnu: texlive-caption: Fix description., guix-commits, 2022/09/04
- 27/27: gnu: Add wmamixer., guix-commits, 2022/09/04
- 08/27: gnu: stex: Fix read-only gifs and math directories., guix-commits, 2022/09/04
- 11/27: gnu: racket: Adjust patch for "/bin/sh" in rktio., guix-commits, 2022/09/04