summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-09 18:53:55 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-30 19:48:29 +0100
commite82c07fd2d57b8ddd14fcfe4a0b60b1c7d71b5e2 (patch)
treeca19a2c81b4b9995e68c61cd05a90510cf6d56e7 /gnu
parent445caffa0ad060bfbb36c0507aaeeef40140965f (diff)
downloadguix-e82c07fd2d57b8ddd14fcfe4a0b60b1c7d71b5e2.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm13
1 files 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 @@ pool.")
          "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 @@ pool.")
         ("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 @@ implementation of TLS for nonblocking I/O streams.")
        #: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