summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-09 18:02:08 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-30 19:48:28 +0100
commit6575e5dd657dca03bf3f26f31222c38e9dc3197e (patch)
tree62e4da1a04f61cb32baebc79bf30d663506ce0f6 /gnu
parenta4efec5f032d8dede717386452902c3f24b344ad (diff)
downloadguix-6575e5dd657dca03bf3f26f31222c38e9dc3197e.tar.gz
gnu: Add rust-tokio-openssl-0.3.
* gnu/packages/crates-io.scm (rust-tokio-openssl-0.3): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f5235771eb..582521654d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31893,6 +31893,31 @@ Tokio.")
 backed by OpenSSL.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-tokio-openssl-0.3
+  (package
+    (inherit rust-tokio-openssl-0.4)
+    (name "rust-tokio-openssl")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tokio-openssl" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "19zx58jz0vkxppa3pmqnq0b90mqsycikr5nrcy6i1bkhn53647bp"))))
+    (arguments
+     `(#:tests? #f                      ;require internet access
+       #:cargo-inputs
+       (("rust-futures" ,rust-futures-0.1)
+        ("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)))))
+
 (define-public rust-tokio-process-0.2
   (package
     (name "rust-tokio-process")