diff options
author | phodina <phodina@protonmail.com> | 2021-09-15 19:21:23 +0000 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-11-03 12:59:09 +0100 |
commit | 411c7e769d9cd30c6d7ef92a2d69b2a5ae092a5d (patch) | |
tree | 0eda2e70e2a47ad1cb54d04ef6401953f0ea46c3 /gnu | |
parent | 371102328212e6b91258f167abad2bf3c69fd41d (diff) | |
download | guix-411c7e769d9cd30c6d7ef92a2d69b2a5ae092a5d.tar.gz |
gnu: Add rust-tiny-http-0.8.
* gnu/packages/crates-io.scm (rust-tiny-http-0.8): New variable. (rust-tiny-http-0.6): Inherit from ‘rust-tiny-http-0.8’. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 37 |
1 files changed, 31 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 436c141881..4b06b84bfc 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -51010,8 +51010,38 @@ closures after a delay or at a given timestamp.") manipulation in Rust.") (license license:expat))) +(define-public rust-tiny-http-0.8 + (package + (name "rust-tiny-http") + (version "0.8.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "tiny-http" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fcdwpb2ghk671qjjrk6048hs3yp7f681hxpr68gamk00181prcw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-ascii" ,rust-ascii-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-chunked-transfer" ,rust-chunked-transfer-1) + ("rust-log" ,rust-log-0.4) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs + (("rust-fdlimit" ,rust-fdlimit-0.1) + ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) + ("rust-sha1" ,rust-sha1-0.6)))) + (home-page "https://github.com/tiny-http/tiny-http") + (synopsis "Low level HTTP server library") + (description "This package provides a low level HTTP server library.") + (license (list license:expat license:asl2.0)))) + (define-public rust-tiny-http-0.6 (package + (inherit rust-tiny-http-0.8) (name "rust-tiny-http") (version "0.6.2") (source @@ -51021,7 +51051,6 @@ manipulation in Rust.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0la95daknfh8g951ddb2zdz6av2459rncp6h9dh02pf98h5glq8n")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -51030,11 +51059,7 @@ manipulation in Rust.") ("rust-chunked-transfer" ,rust-chunked-transfer-0.3) ("rust-log" ,rust-log-0.4) ("rust-openssl" ,rust-openssl-0.10) - ("rust-url" ,rust-url-1)))) - (home-page "https://github.com/tiny-http/tiny-http") - (synopsis "Low level HTTP server library") - (description "This package provides a low level HTTP server library.") - (license license:asl2.0))) + ("rust-url" ,rust-url-1)))))) (define-public rust-tiny-keccak-2 (package |