diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-24 11:23:43 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:58:31 +0200 |
commit | 852891b2377c851ae5e889ef9c1b5a6f7b6ce4fc (patch) | |
tree | ea186bd92b68e28987c7a78265042cdfb57e0fcf /gnu/packages/crates-web.scm | |
parent | f60b87e60f181fa76dfe6c0bcedbaae625494236 (diff) |
gnu: rust-typed-headers: Move to (gnu packages crates-web).
* gnu/packages/crates-io.scm (rust-typed-headers-0.2,
rust-typed-headers-0.1): Move from here ...
* gnu/packages/crates-web.scm: ... to here.
Change-Id: I396c03af7826f64a0692860b7f518c215cdf0fef
Diffstat (limited to 'gnu/packages/crates-web.scm')
-rw-r--r-- | gnu/packages/crates-web.scm | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index b4bc5efacbd..e7a137ef4c2 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -4417,6 +4417,52 @@ makes them accessible for those who wants full control over the network.") ("rust-url" ,rust-url-2) ("rust-utf-8" ,rust-utf-8-0.7)))))) +(define-public rust-typed-headers-0.2 + (package + (name "rust-typed-headers") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "typed-headers" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0jm2xzvvml3a9hhvzf9q4v22l5ifrxrx2kspy7aymknckqgacy9i")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-base64" ,rust-base64-0.11) + ("rust-bytes" ,rust-bytes-0.5) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-http" ,rust-http-0.2) + ("rust-mime" ,rust-mime-0.3)))) + (home-page "https://github.com/sfackler/typed-headers") + (synopsis "Typed HTTP header serialization and deserialization") + (description "This package provides typed HTTP header serialization and +deserialization.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-typed-headers-0.1 + (package + (inherit rust-typed-headers-0.2) + (name "rust-typed-headers") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "typed-headers" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0g40nlq5iw0zxhwb7nfmfbr9m86abgwwhxwhzrm10nfq6bsmlvxx")))) + (arguments + `(#:cargo-inputs + (("rust-base64" ,rust-base64-0.10) + ("rust-bytes" ,rust-bytes-0.4) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-http" ,rust-http-0.1) + ("rust-mime" ,rust-mime-0.3)))))) + (define-public rust-warp-0.2 (package (name "rust-warp") |