summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-11-22 12:33:25 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-11-22 19:44:37 +0200
commit60a21362618b198675622e0cac1bf4c98efb3ed6 (patch)
treee9ade220d93e7b82e8f9292bb05959818766429a
parentef7792f6d3b8a3b683aa341740db6ee277af22cf (diff)
gnu: Add rust-ring-0.14.
* gnu/packages/crates-io.scm (rust-ring-0.14): New variable.
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ff2d1a1815..d87db3db2a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22282,6 +22282,29 @@ functionality as retain but gives mutable borrow to the predicate.")
(description "This package provided safe, fast, small crypto using Rust.")
(license (list license:isc license:openssl))))
+(define-public rust-ring-0.14
+ (package
+ (inherit rust-ring-0.16)
+ (name "rust-ring")
+ (version "0.14.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ring" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0g091akf4dpg9qj05z3gc4nlrs57mjj2bqab98gaqp79wf3c2ss2"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-spin" ,rust-spin-0.5)
+ ("rust-untrusted" ,rust-untrusted-0.6)
+ ("rust-winapi" ,rust-winapi-0.3)
+ ("rust-cc" ,rust-cc-1))))))
+
(define-public rust-ring-0.13
(package/inherit rust-ring-0.16
(name "rust-ring")