summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-09 18:07:43 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-30 19:48:28 +0100
commit80a353437f4d403a4ce873d2a342670ef7306787 (patch)
treeff8a1394857ef097a830ba92210d5293609613e6 /gnu/packages
parent6575e5dd657dca03bf3f26f31222c38e9dc3197e (diff)
downloadguix-80a353437f4d403a4ce873d2a342670ef7306787.tar.gz
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.
Diffstat (limited to 'gnu/packages')
-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 582521654d..a2f8a3bea4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31881,12 +31881,17 @@ Tokio.")
          "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 @@ backed by OpenSSL.")
         ("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