guix-commits
[Top][All Lists]
Advanced

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

29/46: gnu: Add rust-commoncrypto-0.2.


From: guix-commits
Subject: 29/46: gnu: Add rust-commoncrypto-0.2.
Date: Sun, 6 Jun 2021 02:40:15 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit 0ededfaaad3a0114528f92f8b64aab706fdceccf
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Jun 3 21:28:49 2021 -0400

    gnu: Add rust-commoncrypto-0.2.
    
    * gnu/packages/crates-io.scm (rust-commoncrypto-0.2): New variable.
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b6d4ac2..a6c6ea8 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")



reply via email to

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