gnu: Add rust-openssl-0.9.

* gnu/packages/crates-io.scm (rust-openssl-0.9): New variable.
This commit is contained in:
Nicolas Goaziou 2021-02-10 17:40:47 +01:00
parent cdbac658b6
commit ed0a3bea35
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -25493,6 +25493,27 @@ (define-public rust-openssl-0.10
(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)