aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-09-17 16:29:04 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-09-17 19:40:08 +0300
commit61b10dd1bfca019c9f83e09d233852f58206f8b0 (patch)
tree4f05dd1edd7dd47a633a03c3e0e8dfd179b8fefc /gnu/packages
parentd7bec7535f67ac7432cb3f10d4b92fc21da2c8f9 (diff)
downloadguix-61b10dd1bfca019c9f83e09d233852f58206f8b0.tar.gz
guix-61b10dd1bfca019c9f83e09d233852f58206f8b0.zip
gnu: Add rust-libnghttp2-sys.
* gnu/packages/crates-io.scm (rust-libnghttp2-sys): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm30
1 files changed, 29 insertions, 1 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3cbdc66d3b..94a409a6f0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29,7 +29,8 @@
#:use-module (gnu packages jemalloc)
#:use-module (gnu packages llvm)
#:use-module (gnu packages maths)
- #:use-module (gnu packages pkg-config))
+ #:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages web))
;;;
;;; Please: Try to add new module packages in alphabetic order.
@@ -1883,6 +1884,33 @@ types as proposed in RFC 1158.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-libnghttp2-sys
+ (package
+ (name "rust-libnghttp2-sys")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libnghttp2-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0qr4lyh7righx9n22c7amlcpk906rn1jnb2zd6gdfpa3yi24s982"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc))
+ #:cargo-development-inputs
+ (("rust-cc" ,rust-cc))))
+ (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).")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-nodrop
(package
(name "rust-nodrop")