~ruther/guix-local

3c48ef60ad8fa76075e0fc72bd0dba7f09366915 — Maxime Devos 3 years ago ed24d6b
gnu: hashcat: Don't embed timestamp, fixing reproducibility.

* gnu/packages/password-utils.scm (hashcat)[arguments]{#:phases}:
Remove timestamp, fixing reproducibility.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
1 files changed, 6 insertions(+), 0 deletions(-)

M gnu/packages/password-utils.scm
M gnu/packages/password-utils.scm => gnu/packages/password-utils.scm +6 -0
@@ 35,6 35,7 @@
;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2021 David Dashyan <mail@davie.li>
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2022 Maxime Devos <maximedevos@telenet.be>
;;;
;;; This file is part of GNU Guix.
;;;


@@ 1126,6 1127,11 @@ your online accounts makes it necessary.")
     '(#:tests? #f ;no tests
       #:make-flags (list (string-append "PREFIX=" %output))
       #: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))))
    (home-page "https://hashcat.net/hashcat/")
    (synopsis "Advanced password recovery utility")