me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-openssl-0.7.

* gnu/packages/crates-io.scm (rust-openssl-0.7): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
master
Valentin Ignatev 2020-01-26 16:41:25 +03:00 committed by Efraim Flashner
parent f1e4f87e77
commit b090c2fd80
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 38 additions and 0 deletions

View File

@ -10332,6 +10332,44 @@ Things in odds may move to more appropriate crates if we find them.")
(description "OpenSSL bindings.") (description "OpenSSL bindings.")
(license license:asl2.0))) (license license:asl2.0)))
(define-public rust-openssl-0.7
(package
(inherit rust-openssl-0.10)
(name "rust-openssl")
(version "0.7.14")
(source
(origin
(method url-fetch)
(uri (crate-uri "openssl" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0cw767rbasg4dbsfcsnxqm3q5ljkv6s1jq0a2p82xi5a8ii7n4f4"))))
(arguments
`(#:tests? #f ; Test directory not included in release
#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-0.7)
("rust-gcc" ,rust-gcc-0.3)
("rust-lazy-static" ,rust-lazy-static-0.2)
("rust-libc" ,rust-libc-0.2)
("rust-openssl-sys" ,rust-openssl-sys-0.7)
("rust-openssl-sys-extras" ,rust-openssl-sys-extras-0.7))
#:cargo-development-inputs
(("rust-net2" ,rust-net2-0.2)
("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
("rust-winapi" ,rust-winapi-0.2)
("rust-ws2-32-sys" ,rust-ws2-32-sys-0.2))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-cargo-toml
(lambda _
(substitute* "Cargo.toml"
((", path =.*}") "}"))
#t)))))
(native-inputs
`(("openssl" ,openssl-1.0))))) ; for openssl-sys-extras
(define-public rust-openssl-probe-0.1 (define-public rust-openssl-probe-0.1
(package (package
(name "rust-openssl-probe") (name "rust-openssl-probe")