guix-commits
[Top][All Lists]
Advanced

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

74/295: gnu: Add rust-digest-0.9.


From: guix-commits
Subject: 74/295: gnu: Add rust-digest-0.9.
Date: Mon, 27 Jul 2020 06:25:27 -0400 (EDT)

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

commit 3bb18715a9925b37d1b2cbcf2369bff406465c9b
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Jun 28 14:25:07 2020 +0300

    gnu: Add rust-digest-0.9.
    
    * gnu/packages/crates-io.scm (rust-digest-0.9): New variable.
    (rust-digest-0.8): Inherit from rust-digest-0.9.
---
 gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++++-------
 1 file changed, 26 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 153742c..cfc87f9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5156,8 +5156,33 @@ structs and enums.")
        #:cargo-development-inputs
        (("rust-term" ,rust-term-0.2))))))
 
+(define-public rust-digest-0.9
+  (package
+    (name "rust-digest")
+    (version "0.9.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "digest" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0rmhvk33rgvd6ll71z8sng91a52rw14p0drjn1da0mqa138n1pfk"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-blobby" ,rust-blobby-0.1)
+        ("rust-generic-array" ,rust-generic-array-0.14))))
+    (home-page "https://github.com/RustCrypto/traits";)
+    (synopsis "Traits for cryptographic hash functions")
+    (description
+     "Traits for cryptographic hash functions.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-digest-0.8
   (package
+    (inherit rust-digest-0.9)
     (name "rust-digest")
     (version "0.8.1")
     (source
@@ -5169,17 +5194,11 @@ structs and enums.")
        (sha256
         (base32
          "1madjl27f3kj5ql7kwgvb9c8b7yb7bv7yfgx7rqzj4i3fp4cil7k"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
        (("rust-blobby" ,rust-blobby-0.1)
-        ("rust-generic-array" ,rust-generic-array-0.13))))
-    (home-page "https://github.com/RustCrypto/traits";)
-    (synopsis "Traits for cryptographic hash functions")
-    (description
-     "Traits for cryptographic hash functions.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-generic-array" ,rust-generic-array-0.13))))))
 
 (define-public rust-dirs-2.0
   (package



reply via email to

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