summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-crypto.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-21 17:24:03 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:58:01 +0200
commitefb2b5493ffc855167f132282426e92f0f76021d (patch)
tree96aceda2ee3f58118de0f9536a17d1cd6f48f8a5 /gnu/packages/crates-crypto.scm
parent07533d10b2b434982cd7fe0eb15bc03bff49eab8 (diff)
gnu: rust-twofish-0.7: Move to (gnu packages crates-crypto).
* gnu/packages/crates-io.scm (rust-twofish-0.70: Move from here ... * gnu/packages/crates-crypto.scm: ... to here. Change-Id: I4df49191b77192c6d482240ce6f3488b21814308
Diffstat (limited to 'gnu/packages/crates-crypto.scm')
-rw-r--r--gnu/packages/crates-crypto.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index 94b63d113f..b634fd976f 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -4658,6 +4658,29 @@ cryptographic implementations.")
"This package provides the Tiger cryptographic hash function.")
(license (list license:expat license:asl2.0))))
+(define-public rust-twofish-0.7
+ (package
+ (name "rust-twofish")
+ (version "0.7.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "twofish" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "04w0ii2c0c9ws08aw6c7illh9zql22il9lbwjk1mgir30aiq73m7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cipher" ,rust-cipher-0.4))
+ #:cargo-development-inputs
+ (("rust-cipher" ,rust-cipher-0.4)
+ ("rust-hex-literal" ,rust-hex-literal-0.3))))
+ (home-page "https://github.com/RustCrypto/block-ciphers")
+ (synopsis "Twofish block cipher")
+ (description "Twofish block cipher")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-universal-hash-0.5
(package
(name "rust-universal-hash")