aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-15 10:31:43 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:49 +0200
commit9cb3f7ea456ef1b1971a43d5cab01c602eaa0081 (patch)
tree083f2419bc50d4bead16e1d30ad124c6bb994548 /gnu
parent244999576336b7537fd9f289c5f245b2d69f4a3f (diff)
downloadguix-9cb3f7ea456ef1b1971a43d5cab01c602eaa0081.tar
guix-9cb3f7ea456ef1b1971a43d5cab01c602eaa0081.tar.gz
gnu: Add rust-http-0.1.
* gnu/packages/crates-io.scm (rust-http-0.1): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4a1caf44d3..2762364c8d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3742,6 +3742,40 @@ compile time.")
"Internal implementation of the hex-literal crate.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-http-0.1
+ (package
+ (name "rust-http")
+ (version "0.1.17")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "http" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "06icxvrd26r6s7dzjavja7r47hgjb9851wblqh8frxnsy3q29lzf"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bytes" ,rust-bytes-0.4)
+ ("rust-fnv" ,rust-fnv-1.0)
+ ("rust-itoa" ,rust-itoa-0.4))
+ #:cargo-development-inputs
+ (("rust-indexmap" ,rust-indexmap-1.0)
+ ("rust-quickcheck" ,rust-quickcheck-0.8)
+ ("rust-rand" ,rust-rand-0.4)
+ ("rust-seahash" ,rust-seahash-3.0)
+ ("rust-serde" ,rust-serde-1.0)
+ ("rust-serde-json" ,rust-serde-json-1.0))))
+ (home-page "https://github.com/hyperium/http")
+ (synopsis "Set of types for representing HTTP requests and responses")
+ (description
+ "This package provides a set of types for representing HTTP
+requests and responses.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-humantime-1.2
(package
(name "rust-humantime")