guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

147/189: gnu: Add rust-typed-headers-0.2.


From: guix-commits
Subject: 147/189: gnu: Add rust-typed-headers-0.2.
Date: Mon, 21 Sep 2020 06:01:46 -0400 (EDT)

arunisaac pushed a commit to branch wip-swc
in repository guix.

commit dd129ba10e77cb2321136b277375705c1b0f4386
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Sun Sep 20 12:28:37 2020 +0530

    gnu: Add rust-typed-headers-0.2.
    
    * gnu/packages/crates-io.scm (rust-typed-headers-0.2): New variable.
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b3ed061..db680b0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30558,6 +30558,32 @@ extension for the Trust-DNS client to use rustls for 
TLS.")
      "The arena, a fast but limited type of allocator.")
     (license license:expat)))
 
+(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-typemap-0.3
   (package
     (name "rust-typemap")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]