From d4d4bf3b64b28c52b1c96dc600d1b7fc8dcdc40d Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 5 Dec 2020 13:05:33 +0100 Subject: [PATCH] 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. --- gnu/packages/crates-io.scm | 31 ++++++++++++++++++++++++------- 1 file changed, 24 insertions(+), 7 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,8 +24969,31 @@ macOS and iOS.") (("rust-hex" ,rust-hex-0.3) ("rust-tempdir" ,rust-tempdir-0.3)))))) +(define-public rust-security-framework-sys-2 + (package + (name "rust-security-framework-sys") + (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 "12v7wpf7cbc92xza4lf3w12411wzrkkvlbjgrhrid9yj4rg9v6zr")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("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}") + (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-1 (package + (inherit rust-security-framework-sys-2) (name "rust-security-framework-sys") (version "1.0.0") (source @@ -24981,16 +25004,10 @@ macOS and iOS.") (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)))) + ("rust-libc" ,rust-libc-0.2)))))) (define-public rust-security-framework-sys-0.3 (package