aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-06-18 16:22:26 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-06-18 16:22:26 +0300
commite587a8086b6f9e8d0fbd3e9a6c60017cf6b6b7a0 (patch)
treef8f600a6a1b4f833cdeb474cff5c4208e32cfc36 /gnu/packages
parent69288a849a4724b90dba8ae2482c39854cb719a2 (diff)
downloadguix-e587a8086b6f9e8d0fbd3e9a6c60017cf6b6b7a0.tar.gz
guix-e587a8086b6f9e8d0fbd3e9a6c60017cf6b6b7a0.zip
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.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm18
1 files changed, 13 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4da1087671..0fd87d1836 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49,6 +49,7 @@
#:use-module (gnu packages tls)
#:use-module (gnu packages video)
#:use-module (gnu packages version-control)
+ #:use-module (gnu packages web)
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg))
@@ -11465,18 +11466,25 @@ functions and static variables these libraries contain.")
(origin
(method url-fetch)
(uri (crate-uri "libnghttp2-sys" version))
- (file-name (string-append name "-" version ".crate"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0qr4lyh7righx9n22c7amlcpk906rn1jnb2zd6gdfpa3yi24s982"))))
+ "0qr4lyh7righx9n22c7amlcpk906rn1jnb2zd6gdfpa3yi24s982"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin (delete-file-recursively "nghttp2") #t))))
(build-system cargo-build-system)
- ;(inputs
- ; `(("nghttp2" ,nghttp2)))
+ (arguments
+ `(#: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")
(synopsis "FFI bindings for libnghttp2 (nghttp2)")
(description
"This package provides FFI bindings for libnghttp2 (nghttp2).")
- (properties '((hidden? . #t)))
(license (list license:asl2.0
license:expat))))