guix-commits
[Top][All Lists]
Advanced

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

54/85: gnu: Add rust-ring-0.13.


From: guix-commits
Subject: 54/85: gnu: Add rust-ring-0.13.
Date: Tue, 5 May 2020 07:56:30 -0400 (EDT)

htgoebel pushed a commit to branch master
in repository guix.

commit 98a653c79f5a530bcc8a365365e45344e5eba476
Author: Hartmut Goebel <address@hidden>
AuthorDate: Sat Apr 25 12:12:05 2020 +0200

    gnu: Add rust-ring-0.13.
    
    * gnu/packages/crates-io.scm (rust-ring-0.13): New variable.
---
 gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ec0215d..db30e2f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18811,6 +18811,26 @@ uses finite automata and guarantees linear time 
matching on all inputs.")
     (description "This package provided safe, fast, small crypto using Rust.")
     (license (list license:isc license:openssl))))
 
+(define-public rust-ring-0.13
+  (package/inherit rust-ring-0.16
+    (name "rust-ring")
+    (version "0.13.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ring" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "12j580by6a438i5mw3136cj3lxylywymdr5p8rqlkwrm5s5bck9c"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-untrusted" ,rust-untrusted-0.6)
+        ;; build dependencies
+        ("rust-cc" ,rust-cc-1.0))))))
+
 (define-public rust-ron-0.4
   (package
     (name "rust-ron")



reply via email to

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