From e82c07fd2d57b8ddd14fcfe4a0b60b1c7d71b5e2 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 9 Dec 2020 18:53:55 +0100 Subject: [PATCH] gnu: rust-tokio-tls-0.3: Fix build. * gnu/packages/crates-io.scm (rust-tokio-tls-0.3)[arguments]: Skip tests. [native-inputs]: Add pkg-config. [inputs]: Add openssl. * gnu/packages/crates-io.scm (rust-tokio-tls-0.3)[native-inputs, inputs]: Remove since they are inherited. --- gnu/packages/crates-io.scm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e06dbd702c..f6432c629f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -32393,7 +32393,8 @@ (define-public rust-tokio-tls-0.3 "0hv375949532p32d0w6bm2f6d3r0d00mcdzqjjqlzcmkszyg8w4s")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs + `(#:tests? #f ;require internet access + #:cargo-inputs (("rust-native-tls" ,rust-native-tls-0.2) ("rust-tokio" ,rust-tokio-0.2)) #:cargo-development-inputs @@ -32406,6 +32407,10 @@ (define-public rust-tokio-tls-0.3 ("rust-tokio" ,rust-tokio-0.2) ("rust-tokio-util" ,rust-tokio-util-0.3) ("rust-winapi" ,rust-winapi-0.3)))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("openssl" ,openssl))) (home-page "https://tokio.rs") (synopsis "TLS/SSL streams for Tokio") (description "An implementation of TLS/SSL streams for Tokio giving an @@ -32433,11 +32438,7 @@ (define-public rust-tokio-tls-0.2 #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.5) ("rust-security-framework" ,rust-security-framework-0.2) - ("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-trace-core-0.2 (package