summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-10 17:40:47 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:50:38 +0100
commited0a3bea35fc8593724565c18f3ac0d107eb28d4 (patch)
tree3fddf2019e5f18f705040b6b21ce1a280da82042
parentcdbac658b6b50a706dcb3986a85b0b92f131984c (diff)
downloadguix-ed0a3bea35fc8593724565c18f3ac0d107eb28d4.tar.gz
gnu: Add rust-openssl-0.9.
* gnu/packages/crates-io.scm (rust-openssl-0.9): New variable.
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ffa2e6169a..defb28d8c6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25493,6 +25493,27 @@ the system.")
     (description "OpenSSL bindings.")
     (license license:asl2.0)))
 
+(define-public rust-openssl-0.9
+  (package
+    (inherit rust-openssl-0.10)
+    (name "rust-openssl")
+    (version "0.9.24")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "openssl" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "11br5b8x1kc5klsn50ihiml82ajyzcwi3lljvrlsm8vlhhlmqq53"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-bitflags" ,rust-bitflags-0.9)
+        ("rust-foreign-types" ,rust-foreign-types-0.3)
+        ("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-openssl-sys" ,rust-openssl-sys-0.9))))))
+
 (define-public rust-openssl-0.7
   (package
     (inherit rust-openssl-0.10)