diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-09 15:20:09 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-30 19:48:22 +0100 |
commit | 6cac86c98530b35cebd098bf432840e5650fe940 (patch) | |
tree | f78b0012f922099598c264ef4a6972c673cb61e0 /gnu/packages | |
parent | 775991f049318f6f4c51438bc582ca3482f122d8 (diff) | |
download | guix-6cac86c98530b35cebd098bf432840e5650fe940.tar.gz |
gnu: Add rust-headers-0.2.
* gnu/packages/crates-io.scm (rust-headers-0.2): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3caa175a9d..ef911cd99b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -11802,6 +11802,33 @@ hash map.") their key-value pairs in a user controllable order.") (license (list license:expat license:asl2.0)))) +(define-public rust-headers-0.2 + (package + (name "rust-headers") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "headers" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hmnrra00cjqpsn05klnr9cysrv2bm19akxl5lncwcrgfbcafb48")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-base64" ,rust-base64-0.10) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-bytes" ,rust-bytes-0.4) + ("rust-headers-core" ,rust-headers-core-0.1) + ("rust-http" ,rust-http-0.1) + ("rust-mime" ,rust-mime-0.3) + ("rust-sha-1" ,rust-sha-1-0.8) + ("rust-time" ,rust-time-0.1)))) + (home-page "https://hyper.rs") + (synopsis "typed HTTP headers") + (description "This package provides typed HTTP headers.") + (license license:expat))) + (define-public rust-headers-core-0.1 (package (name "rust-headers-core") |