mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add rust-openssl-sys-0.7.
* gnu/packages/crates-io.scm (rust-openssl-sys-0.7): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
1f38bd3394
commit
ad9e129f1e
1 changed files with 36 additions and 0 deletions
|
@ -10415,6 +10415,42 @@ system for OpenSSL.")
|
||||||
"This package provides FFI bindings to OpenSSL for use in rust crates.")
|
"This package provides FFI bindings to OpenSSL for use in rust crates.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public rust-openssl-sys-0.7
|
||||||
|
(package
|
||||||
|
(inherit rust-openssl-sys-0.9)
|
||||||
|
(name "rust-openssl-sys")
|
||||||
|
(version "0.7.17")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "openssl-sys" version))
|
||||||
|
(file-name
|
||||||
|
(string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0gswbbfkhhj8f9jifwvdssv3p2lpgyz69qzqvafylbim9klpxi49"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
'(begin
|
||||||
|
;; rust-libressl-pnacl-sys vendors libressl.
|
||||||
|
(substitute* "Cargo.toml"
|
||||||
|
((".*nacl.*") ""))
|
||||||
|
#t))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs
|
||||||
|
(("rust-gdi32-sys" ,rust-gdi32-sys-0.2)
|
||||||
|
("rust-libc" ,rust-libc-0.2)
|
||||||
|
("rust-user32-sys" ,rust-user32-sys-0.2)
|
||||||
|
("rust-pkg-config" ,rust-pkg-config-0.3))
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'find-openssl
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(let ((openssl (assoc-ref inputs "openssl")))
|
||||||
|
(setenv "OPENSSL_DIR" openssl))
|
||||||
|
#t)))))))
|
||||||
|
|
||||||
(define-public rust-ordered-float-1.0
|
(define-public rust-ordered-float-1.0
|
||||||
(package
|
(package
|
||||||
(name "rust-ordered-float")
|
(name "rust-ordered-float")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue