summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-06-03 21:28:49 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-06-06 02:38:27 -0400
commit0ededfaaad3a0114528f92f8b64aab706fdceccf (patch)
treeb4faba484df02e3f679ea5b53f4636abb94e72f3
parentaacc47eb4cc2814f24087e796b70f0b865cb2f81 (diff)
gnu: Add rust-commoncrypto-0.2.
* gnu/packages/crates-io.scm (rust-commoncrypto-0.2): New variable.
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b6d4ac207b..a6c6ea84cf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8100,6 +8100,31 @@ library which provides Rust FFI bindings and idiomatic wrappers for Mac OS X's
CommonCrypto library.")
(license license:expat)))
+(define-public rust-commoncrypto-0.2
+ (package
+ (name "rust-commoncrypto")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "commoncrypto" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "01whnqcziclsj1gwavvqhrw2r5cmwh00j2fbc56iwnm2ddcahmnh"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-clippy" ,rust-clippy-0.0)
+ ("rust-commoncrypto-sys" ,rust-commoncrypto-sys-0.2))))
+ (home-page "https://github.com/malept/rust-commoncrypto")
+ (synopsis "Idiomatic Rust wrappers for Mac OS X's CommonCrypto library")
+ (description "The @{commoncrypto} library provides Rust FFI bindings and
+idiomatic wrappers for Mac OS X's CommonCrypto library.")
+ (license license:expat)))
+
(define-public rust-common-path-1
(package
(name "rust-common-path")