summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-05 13:05:33 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-05 14:45:15 +0100
commitd4d4bf3b64b28c52b1c96dc600d1b7fc8dcdc40d (patch)
tree54c75255d725119e01f140907de09e860ca2a326 /gnu/packages
parent0b36bd01e4ed2fc5a6afc11bd0272b036667c25e (diff)
downloadguix-d4d4bf3b64b28c52b1c96dc600d1b7fc8dcdc40d.tar.gz
gnu: Add rust-security-framework-sys-2.
* gnu/packages/crates-io.scm (rust-security-framework-sys-2): New variable.
(rust-security-framework-sys-1): inherit from above.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 22 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 599d3b6796..ff816d7979 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24969,22 +24969,21 @@ macOS and iOS.")
        (("rust-hex" ,rust-hex-0.3)
         ("rust-tempdir" ,rust-tempdir-0.3))))))
 
-(define-public rust-security-framework-sys-1
+(define-public rust-security-framework-sys-2
   (package
     (name "rust-security-framework-sys")
-    (version "1.0.0")
+    (version "2.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"))))
+        (base32 "12v7wpf7cbc92xza4lf3w12411wzrkkvlbjgrhrid9yj4rg9v6zr"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-       (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.7)
+       (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8)
         ("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}")
@@ -24992,6 +24991,24 @@ macOS and iOS.")
 @code{Security.framework}.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-security-framework-sys-1
+  (package
+    (inherit rust-security-framework-sys-2)
+    (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"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.7)
+        ("rust-libc" ,rust-libc-0.2))))))
+
 (define-public rust-security-framework-sys-0.3
   (package
     (inherit rust-security-framework-sys-1)