guix-commits
[Top][All Lists]
Advanced

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

68/295: gnu: Add rust-block-padding-0.2.


From: guix-commits
Subject: 68/295: gnu: Add rust-block-padding-0.2.
Date: Mon, 27 Jul 2020 06:25:24 -0400 (EDT)

dannym pushed a commit to branch wip-desktop
in repository guix.

commit e49c34b41852301e2e98a35bc319950d9560355c
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Jun 28 14:13:43 2020 +0300

    gnu: Add rust-block-padding-0.2.
    
    * gnu/packages/crates-io.scm (rust-block-padding-0.2): New variable.
    (rust-block-padding-0.1): Inherit from rust-block-padding-0.2.
---
 gnu/packages/crates-io.scm | 29 ++++++++++++++++++++++-------
 1 file changed, 22 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 98050ab..bf6785d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1856,8 +1856,29 @@ extension of blocks.")
      "Fixed size buffer for block processing of data.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-block-padding-0.2
+  (package
+    (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"))))
+    (build-system cargo-build-system)
+    (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.1
   (package
+    (inherit rust-block-padding-0.2)
     (name "rust-block-padding")
     (version "0.1.4")
     (source
@@ -1869,16 +1890,10 @@ extension of blocks.")
        (sha256
         (base32
          "02fz9wx5dmgpc79ndrb9xfxqlrkk7lg5wki2blz2zqg27spw6kbd"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
-       (("rust-byte-tools" ,rust-byte-tools-0.3))))
-    (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:asl1.1 license:expat))))
+       (("rust-byte-tools" ,rust-byte-tools-0.3))))))
 
 (define-public rust-bresenham-0.1
   (package



reply via email to

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