guix-commits
[Top][All Lists]
Advanced

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

206/299: gnu: Add rust-httparse-1.3.


From: guix-commits
Subject: 206/299: gnu: Add rust-httparse-1.3.
Date: Thu, 2 Jan 2020 13:19:46 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit a0adfccbc23a18349ab1fce943d96dd3738253f6
Author: John Soo <address@hidden>
Date:   Sun Dec 15 10:34:59 2019 -0800

    gnu: Add rust-httparse-1.3.
    
    * gnu/packages/crates-io.scm (rust-httparse-1.3): New variable.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2762364..d149e2c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3776,6 +3776,30 @@ compile time.")
 requests and responses.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-httparse-1.3
+  (package
+    (name "rust-httparse")
+    (version "1.3.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "httparse" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "10vsfx1b8drhif08fbi0ha9d3v1f3h80w42rxh0y3hrvzl64nwz8"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-development-inputs
+       (("rust-pico-sys" ,rust-pico-sys-0.0))))
+    (home-page "https://github.com/seanmonstar/httparse";)
+    (synopsis "Zero-copy HTTP/1.x parser")
+    (description
+     "This package provides a tiny, safe, speedy, zero-copy HTTP/1.x parser.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-humantime-1.2
   (package
     (name "rust-humantime")



reply via email to

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