summary refs log tree commit diff
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2020-09-20 00:32:24 +0530
committerArun Isaac <arunisaac@systemreboot.net>2020-10-12 11:41:59 +0530
commitcf4a7c272caee6409722c4d1f62800baa54e30af (patch)
treed4ec04a5633c93b21788f4a301c96dd51a75e6db
parent820df01836c2808c39bbfeaa20cbf583d0249b63 (diff)
downloadguix-cf4a7c272caee6409722c4d1f62800baa54e30af.tar.gz
gnu: Add rust-security-framework-sys-1.
* gnu/packages/crates-io.scm (rust-security-framework-sys-1): New variable.
(rust-security-framework-sys-0.3): Inherit from rust-security-framework-sys-1.
(rust-security-framework-sys-0.2): Inherit from
rust-security-framework-sys-0.3.
-rw-r--r--gnu/packages/crates-io.scm39
1 files changed, 25 insertions, 14 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d8dbbec295..571d0ddbca 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22808,10 +22808,32 @@ proven statistical guarantees.")
      "Security.framework bindings for macOS and iOS")
     (description
      "Security.framework bindings for macOS and iOS.")
+(define-public rust-security-framework-sys-1
+  (package
+    (name "rust-security-framework-sys")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "security-framework-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1iynsjz53lqkkw4zbq8l99xn799chbx90lsmrlfnsyxii14v1kji"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.7)
+        ("rust-libc" ,rust-libc-0.2))))
+    (home-page "https://lib.rs/crates/security-framework-sys")
+    (synopsis "Low-level FFI bindings to Apple @code{Security.framework}")
+    (description "This package provides low level FFI bindings to Apple
+@code{Security.framework}.")
     (license (list license:expat license:asl2.0))))
 
 (define-public rust-security-framework-sys-0.3
   (package
+    (inherit rust-security-framework-sys-1)
     (name "rust-security-framework-sys")
     (version "0.3.3")
     (source
@@ -22825,16 +22847,11 @@ proven statistical guarantees.")
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-       (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.6))))
-    (home-page "https://lib.rs/crates/security-framework-sys")
-    (synopsis "Apple `Security.framework` low-level FFI bindings")
-    (description
-     "Apple @code{Security.framework} low-level FFI bindings.")
-    (license (list license:asl2.0
-                   license:expat))))
+       (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.6))))))
 
 (define-public rust-security-framework-sys-0.2
   (package
+    (inherit rust-security-framework-sys-0.3)
     (name "rust-security-framework-sys")
     (version "0.2.4")
     (source
@@ -22845,16 +22862,10 @@ proven statistical guarantees.")
        (sha256
         (base32
          "07zv0szz2kfy1hn251h0qsq0q9i1zia768d8vzril1g6xarj7mcj"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.6)
-        ("rust-libc" ,rust-libc-0.2))))
-    (home-page "https://lib.rs/crates/security-framework-sys")
-    (synopsis "Low level FFI bindings to Apple Security.framework")
-    (description "This packages provides low level FFI bindings to Apple
-Security.framework.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-libc" ,rust-libc-0.2))))))
 
 (define-public rust-selectors-0.22
   (package