summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorCayetano Santos <csantosb@inventati.org>2025-09-25 09:30:33 +0200
committerCayetano Santos <csantosb@inventati.org>2025-12-01 11:32:49 +0100
commit560f49e1b479f24fd1618a5495653572d18d3f3d (patch)
treecbd9dc30777bc9645498f4c2bdb1f478e0a2cb40 /gnu
parent5fb1bb4ede46f8fe60ea34882b4cf3f29b8f4814 (diff)
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
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crypto.scm37
1 files changed, 17 insertions, 20 deletions
diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 349532e1871..d73763925d6 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -1400,11 +1400,11 @@ API.")
1400cryptographic ratchet. This package contains its Python bindings."))) 1400cryptographic ratchet. This package contains its Python bindings.")))
1401 1401
1402(define-public hash-extender 1402(define-public hash-extender
1403 (let ((commit "cb8aaee49f93e9c0d2f03eb3cafb429c9eed723d") 1403 (let ((commit "f00b1a02eca02b0907e26726f7efe437bc396aa4")
1404 (revision "2")) 1404 (revision "0"))
1405 (package 1405 (package
1406 (name "hash-extender") 1406 (name "hash-extender")
1407 (version (git-version "0.0" revision commit)) 1407 (version (git-version "0.02" revision commit)) ;from hash_extender.c
1408 (source (origin 1408 (source (origin
1409 (method git-fetch) 1409 (method git-fetch)
1410 (uri (git-reference 1410 (uri (git-reference
@@ -1412,26 +1412,23 @@ cryptographic ratchet. This package contains its Python bindings.")))
1412 (commit commit))) 1412 (commit commit)))
1413 (sha256 1413 (sha256
1414 (base32 1414 (base32
1415 "1fj118566hr1wv03az2w0iqknazsqqkak0mvlcvwpgr6midjqi9b")) 1415 "12hh2vs8ppavjj47rgyp60cdw70lm2zqdpdv1zdgb3jgdzkg7bf2"))
1416 (file-name (git-file-name name version)))) 1416 (file-name (git-file-name name version))))
1417 (build-system gnu-build-system) 1417 (build-system gnu-build-system)
1418 (arguments 1418 (arguments
1419 `(#:phases 1419 (list
1420 (modify-phases %standard-phases 1420 #:phases
1421 (delete 'configure) 1421 #~(modify-phases %standard-phases
1422 (replace 'check 1422 (delete 'configure)
1423 (lambda _ 1423 ;; See: https://github.com/iagox86/hash_extender/issues/29
1424 (invoke "./hash_extender_test"))) 1424 (delete 'check)
1425 (replace 'install 1425 (replace 'install
1426 (lambda* (#:key outputs #:allow-other-keys) 1426 (lambda _
1427 (let* ((outdir (assoc-ref outputs "out")) 1427 (install-file "hash_extender" (string-append #$output "/bin"))
1428 (bindir (string-append outdir "/bin")) 1428 (install-file
1429 (docdir (string-append outdir 1429 "README.md"
1430 "/share/doc/hash-extender-" 1430 (string-append
1431 ,version))) 1431 #$output "/share/doc/hash-extender-" #$version)))))))
1432 (install-file "hash_extender" bindir)
1433 (install-file "README.md" docdir)
1434 #t))))))
1435 (inputs 1432 (inputs
1436 (list openssl)) 1433 (list openssl))
1437 (synopsis "Tool for hash length extension attacks") 1434 (synopsis "Tool for hash length extension attacks")