aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2020-09-20 00:35:24 +0530
committerArun Isaac <arunisaac@systemreboot.net>2020-10-12 11:41:59 +0530
commit64f359eef5207cf259b48745f0e066a907188350 (patch)
treef9a0e34b12621c07a9febceb5665b4d16937aea7 /gnu
parentcf4a7c272caee6409722c4d1f62800baa54e30af (diff)
downloadguix-64f359eef5207cf259b48745f0e066a907188350.tar.gz
guix-64f359eef5207cf259b48745f0e066a907188350.zip
gnu: Add rust-security-framework-1.
* gnu/packages/crates-io.scm (rust-security-framework-1): New variable. (rust-security-framework-0.3): Inherit from rust-security-framework-1. (rust-security-framework-0.2): Inherit from rust-security-framework-0.3.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm66
1 files changed, 59 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 571d0ddbca..a1d0b498ab 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22779,8 +22779,38 @@ proven statistical guarantees.")
"This package provides a library for section-style testing.")
(license license:expat)))
+(define-public rust-security-framework-1
+ (package
+ (name "rust-security-framework")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "security-framework" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0axwlax65j1f79rsm4ylc8rc6p2knbi3dgnpbdq7a1bzh5k2hl5d"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-core-foundation" ,rust-core-foundation-0.7)
+ ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.7)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-security-framework-sys" ,rust-security-framework-sys-1))
+ #:cargo-development-inputs
+ (("rust-hex" ,rust-hex-0.4)
+ ("rust-tempdir" ,rust-tempdir-0.3))))
+ (home-page "https://lib.rs/crates/security_framework")
+ (synopsis "@code{Security.framework} bindings for macOS and iOS")
+ (description "This package provides @code{Security.framework} bindings for
+macOS and iOS.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-security-framework-0.3
(package
+ (inherit rust-security-framework-1)
(name "rust-security-framework")
(version "0.3.4")
(source
@@ -22792,7 +22822,6 @@ proven statistical guarantees.")
(sha256
(base32
"1pqn79cl9njnnhsmjvvphkzx8is5jhfd8bhxpllgvrgggjfl5wlf"))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f ; Some test files not included in release.
#:cargo-inputs
@@ -22802,12 +22831,35 @@ proven statistical guarantees.")
("rust-security-framework-sys" ,rust-security-framework-sys-0.3))
#:cargo-development-inputs
(("rust-hex" ,rust-hex-0.4)
- ("rust-tempdir" ,rust-tempdir-0.3))))
- (home-page "https://lib.rs/crates/security_framework")
- (synopsis
- "Security.framework bindings for macOS and iOS")
- (description
- "Security.framework bindings for macOS and iOS.")
+ ("rust-tempdir" ,rust-tempdir-0.3))))))
+
+(define-public rust-security-framework-0.2
+ (package
+ (inherit rust-security-framework-0.3)
+ (name "rust-security-framework")
+ (version "0.2.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "security-framework" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0gw3xxg8yzbjb4ny5cy07gky177c1nbgpxqjsw3hfzpfgrxji9bz"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-core-foundation"
+ ,rust-core-foundation-0.6)
+ ("rust-core-foundation-sys"
+ ,rust-core-foundation-sys-0.6)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-security-framework-sys"
+ ,rust-security-framework-sys-0.2))
+ #:cargo-development-inputs
+ (("rust-hex" ,rust-hex-0.3)
+ ("rust-tempdir" ,rust-tempdir-0.3))))))
+
(define-public rust-security-framework-sys-1
(package
(name "rust-security-framework-sys")