gnu: rust-tokio-openssl-0.4: Fix build.

* gnu/packages/crates-io.scm (rust-tokio-openssl-0.4)[arguments]: Disable
tests.
[native-inputs]: Add pkg-config.
[inputs]: Add openssl.
* gnu/packages/crates-io.scm (rust-tokio-openssl-0.3): Remove native-inputs,
and inputs since they are inherited.
This commit is contained in:
Nicolas Goaziou 2020-12-09 18:07:43 +01:00
parent 6575e5dd65
commit 80a353437f
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -31881,12 +31881,17 @@ (define-public rust-tokio-openssl-0.4
"15751d47984ncvllagz35ldl10ifr8555wixvsg6k3i0yk2hhjrw"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
`(#:tests? #f ;require internet access
#:cargo-inputs
(("rust-openssl" ,rust-openssl-0.10)
("rust-tokio" ,rust-tokio-0.2))
#:cargo-development-inputs
(("rust-futures" ,rust-futures-0.3)
("rust-tokio" ,rust-tokio-0.2))))
(native-inputs
`(("pkg-config" ,pkg-config)))
(inputs
`(("openssl" ,openssl)))
(home-page "https://github.com/alexcrichton/tokio-openssl")
(synopsis "SSL streams for Tokio backed by OpenSSL")
(description "This package is an implementation of SSL streams for Tokio
@ -31912,11 +31917,7 @@ (define-public rust-tokio-openssl-0.3
("rust-openssl" ,rust-openssl-0.10)
("rust-tokio-io" ,rust-tokio-io-0.1))
#:cargo-development-inputs
(("rust-tokio" ,rust-tokio-0.1))))
(native-inputs
`(("pkg-config" ,pkg-config)))
(inputs
`(("openssl" ,openssl)))))
(("rust-tokio" ,rust-tokio-0.1))))))
(define-public rust-tokio-process-0.2
(package