diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-03-18 11:42:54 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-07-19 00:43:00 +0300 |
commit | 9c66edb8c618ad7c8f8733cb72d5fca789fe8668 (patch) | |
tree | 36ece16af53e8c93a8ee84197c17d9b076f86be2 /gnu/packages/crates-web.scm | |
parent | 8028262b3d20a47142f2fd2caebd37d0b446b39c (diff) | |
download | guix-9c66edb8c618ad7c8f8733cb72d5fca789fe8668.tar guix-9c66edb8c618ad7c8f8733cb72d5fca789fe8668.tar.gz |
gnu: Add rust-headers-0.4.
* gnu/packages/crates-web.scm (rust-headers-0.4): New variable.
(rust-headers-0.3): Inherit from rust-headers-0.4.
Change-Id: Ic242559fa75c9893cd473346c5e8554aea63fc67
Diffstat (limited to 'gnu/packages/crates-web.scm')
-rw-r--r-- | gnu/packages/crates-web.scm | 33 |
1 files changed, 27 insertions, 6 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index 30e47fbd4d..965455aa7c 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -2404,8 +2404,34 @@ transfer coding.") ("rust-quinn-proto" ,rust-quinn-proto-0.10) ("rust-tokio-util" ,rust-tokio-util-0.7)))))) +(define-public rust-headers-0.4 + (package + (name "rust-headers") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "headers" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1abari69kjl2yv2dg06g2x17qgd1a20xp7aqmmg2vfhcppk0c89j")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-base64" ,rust-base64-0.21) + ("rust-bytes" ,rust-bytes-1) + ("rust-headers-core" ,rust-headers-core-0.3) + ("rust-http" ,rust-http-1) + ("rust-httpdate" ,rust-httpdate-1) + ("rust-mime" ,rust-mime-0.3) + ("rust-sha1" ,rust-sha1-0.10)))) + (home-page "https://hyper.rs") + (synopsis "Typed HTTP headers") + (description "This package provides typed HTTP headers.") + (license license:expat))) + (define-public rust-headers-0.3 (package + (inherit rust-headers-0.4) (name "rust-headers") (version "0.3.9") (source @@ -2415,7 +2441,6 @@ transfer coding.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0w62gnwh2p1lml0zqdkrx9dp438881nhz32zrzdy61qa0a9kns06")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-base64" ,rust-base64-0.21) @@ -2424,11 +2449,7 @@ transfer coding.") ("rust-http" ,rust-http-0.2) ("rust-httpdate" ,rust-httpdate-1) ("rust-mime" ,rust-mime-0.3) - ("rust-sha1" ,rust-sha1-0.10)))) - (home-page "https://hyper.rs") - (synopsis "Typed HTTP headers") - (description "This package provides typed HTTP headers.") - (license license:expat))) + ("rust-sha1" ,rust-sha1-0.10)))))) (define-public rust-headers-0.2 (package |