guix-commits
[Top][All Lists]
Advanced

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

145/299: gnu: Add rust-sha1-asm-0.4.


From: guix-commits
Subject: 145/299: gnu: Add rust-sha1-asm-0.4.
Date: Thu, 2 Jan 2020 13:19:31 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 1885a4f1e2825b52b83f47bfcc35adc6c46dcc15
Author: John Soo <address@hidden>
Date:   Sat Dec 14 20:21:25 2019 -0800

    gnu: Add rust-sha1-asm-0.4.
    
    * gnu/packages/crates-io.scm (rust-sha1-asm-0.4): New variable.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f9c47ef..5230a57 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6522,6 +6522,30 @@ Pwrite traits from the scroll crate.")
      "Minimal implementation of SHA1 for Rust.")
     (license license:bsd-3)))
 
+(define-public rust-sha1-asm-0.4
+  (package
+    (name "rust-sha1-asm")
+    (version "0.4.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "sha1-asm" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1i1i8viy6y30mv9v5hwhg9w6b722qkyh9c6n8bn4d27jpv14pg0s"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-development-inputs
+       (("rust-cc" ,rust-cc-1.0))))
+    (home-page "https://github.com/RustCrypto/asm-hashes";)
+    (synopsis "Assembly implementation of SHA-1 compression function")
+    (description
+     "Assembly implementation of SHA-1 compression function.")
+    (license license:expat)))
+
 (define-public rust-shlex-0.1
   (package
     (name "rust-shlex")



reply via email to

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