summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-04 21:55:10 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:26 +0200
commitaf59272f993812f518b319c5a48d29fd6e229d24 (patch)
tree896428f2bee1b65bc7cc1730d8b5d9ff44b6f48b
parentf900f84f802addb35a062f62afb6421c319157d6 (diff)
downloadguix-af59272f993812f518b319c5a48d29fd6e229d24.tar.gz
gnu: rust-commoncrypto: Move to (gnu packages crates-apple).
* gnu/packages/crates-io.scm (rust-commoncrypto-0.2,
rust-commoncrypto-sys-0.2): Move from here ...
* gnu/packages/crates-apple.scm: ... to here.

Change-Id: I080088e9cea2631736e6fe06158f9263cbddbc5e
-rw-r--r--gnu/packages/crates-apple.scm52
-rw-r--r--gnu/packages/crates-io.scm51
2 files changed, 52 insertions, 51 deletions
diff --git a/gnu/packages/crates-apple.scm b/gnu/packages/crates-apple.scm
index 6b324fdd14..6e9b73bce6 100644
--- a/gnu/packages/crates-apple.scm
+++ b/gnu/packages/crates-apple.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
 ;;; Copyright © 2020 John Soo <jsoo1@asu.edu>
 ;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2021, 2022 Zheng Junjie <873216071@qq.com>
 ;;; Copyright © 2023 Steve George <steve@futurile.net>
 ;;;
@@ -338,6 +339,57 @@ extension of blocks.")
      "This package provides bindings to Cocoa Foundation for macOS.")
     (license (list license:expat license:asl2.0))))
 
+(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-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-coreaudio-rs-0.10
   (package
     (name "rust-coreaudio-rs")
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1f9caebc10..7a17de5f23 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12839,57 +12839,6 @@ wrapping.")
         ("rust-strum" ,rust-strum-0.20)
         ("rust-strum-macros" ,rust-strum-macros-0.20))))))
 
-(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-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")