From 560f49e1b479f24fd1618a5495653572d18d3f3d Mon Sep 17 00:00:00 2001 From: Cayetano Santos Date: Thu, 25 Sep 2025 09:30:33 +0200 Subject: [PATCH] gnu: hash-extender: Update to 0.02-0.f00b1a0. * gnu/packages/crypto.scm (hash-extender)[arguments]: Use G-Expressions. <#:phases>: Delete check. Change-Id: Ib540c08e9b755d54bd486963a99d36d4e2277825 --- gnu/packages/crypto.scm | 37 +++++++++++++++++-------------------- 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index 349532e1871bb75c5162642ad3d234d194b028f9..d73763925d67ac09aec02688b9d443ad16377c51 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -1400,11 +1400,11 @@ API.") cryptographic ratchet. This package contains its Python bindings."))) (define-public hash-extender - (let ((commit "cb8aaee49f93e9c0d2f03eb3cafb429c9eed723d") - (revision "2")) + (let ((commit "f00b1a02eca02b0907e26726f7efe437bc396aa4") + (revision "0")) (package (name "hash-extender") - (version (git-version "0.0" revision commit)) + (version (git-version "0.02" revision commit)) ;from hash_extender.c (source (origin (method git-fetch) (uri (git-reference @@ -1412,26 +1412,23 @@ cryptographic ratchet. This package contains its Python bindings."))) (commit commit))) (sha256 (base32 - "1fj118566hr1wv03az2w0iqknazsqqkak0mvlcvwpgr6midjqi9b")) + "12hh2vs8ppavjj47rgyp60cdw70lm2zqdpdv1zdgb3jgdzkg7bf2")) (file-name (git-file-name name version)))) (build-system gnu-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (delete 'configure) - (replace 'check - (lambda _ - (invoke "./hash_extender_test"))) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let* ((outdir (assoc-ref outputs "out")) - (bindir (string-append outdir "/bin")) - (docdir (string-append outdir - "/share/doc/hash-extender-" - ,version))) - (install-file "hash_extender" bindir) - (install-file "README.md" docdir) - #t)))))) + (list + #:phases + #~(modify-phases %standard-phases + (delete 'configure) + ;; See: https://github.com/iagox86/hash_extender/issues/29 + (delete 'check) + (replace 'install + (lambda _ + (install-file "hash_extender" (string-append #$output "/bin")) + (install-file + "README.md" + (string-append + #$output "/share/doc/hash-extender-" #$version))))))) (inputs (list openssl)) (synopsis "Tool for hash length extension attacks")