mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: rust-libnghttp2-sys-0.1: Don't hide package.
* gnu/packages/crates-io.scm (rust-libnghttp2-sys-0.1)[source]: Remove bundled code. [arguments]: Skip build. Add rust-libc-0.2, rust-cc-1.0 to cargo-inputs. [inputs]: Add nghttp2. [properties]: Remove field.
This commit is contained in:
parent
69288a849a
commit
e587a8086b
1 changed files with 13 additions and 5 deletions
|
@ -49,6 +49,7 @@
|
||||||
#:use-module (gnu packages tls)
|
#:use-module (gnu packages tls)
|
||||||
#:use-module (gnu packages video)
|
#:use-module (gnu packages video)
|
||||||
#:use-module (gnu packages version-control)
|
#:use-module (gnu packages version-control)
|
||||||
|
#:use-module (gnu packages web)
|
||||||
#:use-module (gnu packages xml)
|
#:use-module (gnu packages xml)
|
||||||
#:use-module (gnu packages xorg))
|
#:use-module (gnu packages xorg))
|
||||||
|
|
||||||
|
@ -11465,18 +11466,25 @@ functions and static variables these libraries contain.")
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "libnghttp2-sys" version))
|
(uri (crate-uri "libnghttp2-sys" version))
|
||||||
(file-name (string-append name "-" version ".crate"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0qr4lyh7righx9n22c7amlcpk906rn1jnb2zd6gdfpa3yi24s982"))))
|
"0qr4lyh7righx9n22c7amlcpk906rn1jnb2zd6gdfpa3yi24s982"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
'(begin (delete-file-recursively "nghttp2") #t))))
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
;(inputs
|
(arguments
|
||||||
; `(("nghttp2" ,nghttp2)))
|
`(#:skip-build? #t ; Uses unstable features
|
||||||
|
#:cargo-inputs
|
||||||
|
(("rust-libc" ,rust-libc-0.2)
|
||||||
|
("rust-cc" ,rust-cc-1.0))))
|
||||||
|
(inputs
|
||||||
|
`(("nghttp2" ,nghttp2)))
|
||||||
(home-page "https://github.com/alexcrichton/nghttp2-rs")
|
(home-page "https://github.com/alexcrichton/nghttp2-rs")
|
||||||
(synopsis "FFI bindings for libnghttp2 (nghttp2)")
|
(synopsis "FFI bindings for libnghttp2 (nghttp2)")
|
||||||
(description
|
(description
|
||||||
"This package provides FFI bindings for libnghttp2 (nghttp2).")
|
"This package provides FFI bindings for libnghttp2 (nghttp2).")
|
||||||
(properties '((hidden? . #t)))
|
|
||||||
(license (list license:asl2.0
|
(license (list license:asl2.0
|
||||||
license:expat))))
|
license:expat))))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue