guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

244/470: gnu: Add rust-magma-0.8.


From: guix-commits
Subject: 244/470: gnu: Add rust-magma-0.8.
Date: Thu, 16 Mar 2023 03:01:18 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit fb0e1fe02a002cb89227b7f0a21cd8a0e6870825
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 22 12:17:26 2023 +0200

    gnu: Add rust-magma-0.8.
    
    * gnu/packages/crates-io.scm (rust-magma-0.8): New variable.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a2070852d0..d28999258d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32777,6 +32777,28 @@ library")
      "This package provides test harness for macro expansion in Rust.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-magma-0.8
+  (package
+    (name "rust-magma")
+    (version "0.8.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "magma" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32 
"1w321p30599kc85bb35ps32ykqc9gzpi5b99dsw793nxrypnj9xb"))))
+    (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 "Magma (GOST R 34.12-2015) block cipher")
+    (description "Magma (GOST R 34.12-2015) block cipher")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-magic-crypt-3
   (package
     (name "rust-magic-crypt")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]