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.
This commit is contained in:
Arun Isaac 2020-09-20 00:35:24 +05:30
parent cf4a7c272c
commit 64f359eef5
No known key found for this signature in database
GPG Key ID: 2E25EE8B61802BB3

View File

@ -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")