guix-commits
[Top][All Lists]
Advanced

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

28/459: gnu: Add rust-block-padding-0.3.


From: guix-commits
Subject: 28/459: gnu: Add rust-block-padding-0.3.
Date: Mon, 24 Apr 2023 15:01:42 -0400 (EDT)

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

commit d5b33db535a2891191d17a2e7bd753cc1934d487
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 22 10:20:46 2023 +0200

    gnu: Add rust-block-padding-0.3.
    
    * gnu/packages/crates-io.scm (rust-block-padding-0.3): New variable.
    (rust-block-padding-0.2): Inherit from rust-block-padding-0.3.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++------
 1 file changed, 21 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 78701c62a5..3a1cd95895 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7847,26 +7847,41 @@ and block modes.")
        (("rust-aes" ,rust-aes-0.6)
         ("rust-hex-literal" ,rust-hex-literal-0.2))))))
 
-(define-public rust-block-padding-0.2
+(define-public rust-block-padding-0.3
   (package
     (name "rust-block-padding")
-    (version "0.2.0")
+    (version "0.3.2")
     (source
       (origin
         (method url-fetch)
         (uri (crate-uri "block-padding" version))
-        (file-name
-         (string-append name "-" version ".tar.gz"))
+        (file-name (string-append name "-" version ".tar.gz"))
         (sha256
-         (base32
-          "0x6b2dgink7rc3755r8jl4kmndydy5563h3wz7z9jqrb25ygv2y9"))))
+         (base32 "0y5v92alqzn9ikmyqfl3a4j6va87j967ii2n3jh2h330z4nyr40a"))))
     (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-generic-array" ,rust-generic-array-0.14))))
     (home-page "https://github.com/RustCrypto/utils";)
     (synopsis "Padding and unpadding of messages divided into blocks")
     (description
      "Padding and unpadding of messages divided into blocks.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-block-padding-0.2
+  (package
+    (inherit rust-block-padding-0.3)
+    (name "rust-block-padding")
+    (version "0.2.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "block-padding" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0x6b2dgink7rc3755r8jl4kmndydy5563h3wz7z9jqrb25ygv2y9"))))))
+
 (define-public rust-block-padding-0.1
   (package
     (inherit rust-block-padding-0.2)



reply via email to

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