gnu: rust-openssl-sys-0.9: Don't hide package.
* gnu/packages/crates-io.scm (rust-openssl-sys-0.9)[arguments]: Add rust-libc-0.2, rust-autocfg-0.1, rust-cc-1.0, rust-pkg-config-0.3, rust-vcpkg-0.2 to cargo-inputs. Add custom phase to find packaged openssl. [native-inputs]: Add openssl, pkg-config. [properties]: Remove field.master
parent
d7364e85e0
commit
128aa31fe6
|
@ -7035,22 +7035,30 @@ system for OpenSSL.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0vvk8vzrc73y8n5rf4yj3x8ygyxjaz7wxrbxiwqi7qy0gyp1cpa6"))))
|
(base32 "0vvk8vzrc73y8n5rf4yj3x8ygyxjaz7wxrbxiwqi7qy0gyp1cpa6"))))
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
;(arguments
|
(arguments
|
||||||
; `(#:phases
|
`(#:skip-build? #t ; it wants rust-openssl-src
|
||||||
; (modify-phases %standard-phases
|
#:cargo-inputs
|
||||||
; (add-after 'unpack 'find-openssl
|
(("rust-libc" ,rust-libc-0.2)
|
||||||
; (lambda* (#:key inputs #:allow-other-keys)
|
;; Build dependencies:
|
||||||
; (let ((openssl (assoc-ref inputs "openssl")))
|
("rust-autocfg" ,rust-autocfg-0.1)
|
||||||
; (setenv "OPENSSL_DIR" openssl))
|
("rust-cc" ,rust-cc-1.0)
|
||||||
; #t)))))
|
("rust-pkg-config" ,rust-pkg-config-0.3)
|
||||||
;(inputs
|
;("rust-openssl-src" ,rust-openssl-src-111)
|
||||||
; `(("openssl" ,openssl)
|
("rust-vcpkg" ,rust-vcpkg-0.2))
|
||||||
; ("pkg-config" ,pkg-config)))
|
#: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)))))
|
||||||
|
(native-inputs
|
||||||
|
`(("openssl" ,openssl)
|
||||||
|
("pkg-config" ,pkg-config)))
|
||||||
(home-page "https://github.com/sfackler/rust-openssl")
|
(home-page "https://github.com/sfackler/rust-openssl")
|
||||||
(synopsis "FFI bindings to OpenSSL")
|
(synopsis "FFI bindings to OpenSSL")
|
||||||
(description
|
(description
|
||||||
"This package provides FFI bindings to OpenSSL for use in rust crates.")
|
"This package provides FFI bindings to OpenSSL for use in rust crates.")
|
||||||
(properties '((hidden? . #t)))
|
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public rust-ordermap-0.3
|
(define-public rust-ordermap-0.3
|
||||||
|
|
Reference in New Issue