summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-06-03 21:23:42 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-06-06 02:38:26 -0400
commitaacc47eb4cc2814f24087e796b70f0b865cb2f81 (patch)
tree25959463e88a262264c814de6a804bc2b6e1aefd
parent25c4ad2771f27d65db817fb1feb599b391af0097 (diff)
gnu: Add rust-commoncrypto-sys-0.2.
* gnu/packages/crates-io.scm (rust-commoncrypto-sys-0.2): New variable.
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cb91d76ba1..b6d4ac207b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8074,6 +8074,32 @@ combinator.")
and 1.0.")
(license (list license:expat license:asl2.0))))
+(define-public rust-commoncrypto-sys-0.2
+ (package
+ (name "rust-commoncrypto-sys")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "commoncrypto-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1ql381ziqh594a7z6m9bvs583lkrhbynk02pmbgp7aj7czs39v8z"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t ;requires the Mac OS library
+ #:cargo-inputs
+ (("rust-clippy" ,rust-clippy-0.0)
+ ("rust-libc" ,rust-libc-0.2))))
+ (home-page "https://github.com/malept/rust-commoncrypto")
+ (synopsis "FFI bindings to Mac OS X's CommonCrypto library")
+ (description "This package is a component of the @code{commoncrypto}
+library which 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")