diff options
author | Valentin Ignatev <valentignatev@gmail.com> | 2020-01-26 16:40:51 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-02-27 20:59:42 +0200 |
commit | f1e4f87e77994b5021b676cf6c48e343744519f9 (patch) | |
tree | bc0f3809d0118219f0cbdbbab7603c9145f9e012 | |
parent | 7c4e3488ff1fa1e374440ba728316a0534802179 (diff) | |
download | guix-f1e4f87e77994b5021b676cf6c48e343744519f9.tar.gz |
gnu: Add rust-openssl-sys-extras-0.7.
* gnu/packages/crates-io.scm (rust-openssl-sys-extras-0.7): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-io.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ac3f1bba5e..6138a0e01c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10426,6 +10426,41 @@ system for OpenSSL.") (setenv "OPENSSL_DIR" openssl)) #t))))))) +(define-public rust-openssl-sys-extras-0.7 + (package + (name "rust-openssl-sys-extras") + (version "0.7.14") + (source + (origin + (method url-fetch) + (uri (crate-uri "openssl-sys-extras" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1ymrmfnknyjji74fflbnnq9r5ihx25h0vgs5y203vl6klzdy3i8i")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-openssl-sys" ,rust-openssl-sys-0.7) + ("rust-gcc" ,rust-gcc-0.3)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-cargo-toml + (lambda _ + (substitute* "Cargo.toml" + ((", path =.*}") "}")) + #t))))) + (native-inputs + `(("openssl" ,openssl-1.0))) ; openssl-1.0 specifically + (home-page "https://github.com/sfackler/rust-openssl") + (synopsis + "Extra FFI bindings to OpenSSL that require a C shim") + (description + "Extra FFI bindings to OpenSSL that require a C shim.") + (license license:expat))) + (define-public rust-ordered-float-1.0 (package (name "rust-ordered-float") |