From c1202f130aec56b9f2fc477d016a245824210646 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 22 May 2023 17:56:43 +0300 Subject: [PATCH] gnu: Add rust-blowfish-0.9. * gnu/packages/crates-io.scm (rust-blowfish-0.9): New variable. --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 34dd1757e2..81939fefe9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8319,6 +8319,29 @@ (define-public rust-blocking-0.4 ("rust-parking" ,rust-parking-1) ("rust-waker-fn" ,rust-waker-fn-1)))))) +(define-public rust-blowfish-0.9 + (package + (name "rust-blowfish") + (version "0.9.1") + (source (origin + (method url-fetch) + (uri (crate-uri "blowfish" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1mw7bvj3bg5w8vh9xw9xawqh7ixk2xwsxkj34ph96b9b1z6y44p4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-cipher" ,rust-cipher-0.4)) + #:cargo-development-inputs + (("rust-cipher" ,rust-cipher-0.4)))) + (home-page "https://github.com/RustCrypto/block-ciphers") + (synopsis "Blowfish block cipher") + (description "Blowfish block cipher") + (license (list license:expat license:asl2.0)))) + (define-public rust-botan-0.10 (package (name "rust-botan")