From d1b32323b782b0e44413511a102ecbc833ae833f Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Sat, 18 Sep 2021 17:03:31 +0000 Subject: [PATCH] gnu: Add rust-magic-crypt-3. * gnu/packages/crates-io.scm (rust-magic-crypt-3): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7d987c489b..5e5e4213d1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -26987,6 +26987,39 @@ Mach 3.0 kernel that underlies OSX.") library") (license (list license:asl2.0 license:expat)))) +(define-public rust-magic-crypt-3 + (package + (name "rust-magic-crypt") + (version "3.1.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "magic-crypt" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jb4m8wqxm2qkg9gcflxa0sg1d33a1a0r876h47njg43h494zjfk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-aes-soft" ,rust-aes-soft-0.6) + ("rust-base64" ,rust-base64-0.13) + ("rust-block-modes" ,rust-block-modes-0.7) + ("rust-crc-any" ,rust-crc-any-2) + ("rust-des" ,rust-des-0.6) + ("rust-digest" ,rust-digest-0.9) + ("rust-md-5" ,rust-md-5-0.9) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-tiger" ,rust-tiger-0.1)))) + (home-page "https://magiclen.org/aes") + (synopsis "Library for DES or AES encryption") + (description + "MagicCrypt is a library to encrypt/decrypt strings, files, or data, +using Data Encryption Standard(DES) or Advanced Encryption Standard(AES) +algorithms. It supports CBC block cipher mode, PKCS5 padding and 64, 128, +192 or 256-bits key length.") + (license license:asl2.0))) + (define-public rust-maildir-0.5 (package (name "rust-maildir")