diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-03-18 12:01:34 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-07-19 00:43:06 +0300 |
commit | 15b8d87ffb5b1f4ceb07ca3bdb366936690a9743 (patch) | |
tree | 6e4880987b8abc2b48b6486031a9be97e443dd16 /gnu/packages/crates-web.scm | |
parent | fae58a14e8be41fd338bb6689763e22aef744f3f (diff) | |
download | guix-15b8d87ffb5b1f4ceb07ca3bdb366936690a9743.tar.gz guix-15b8d87ffb5b1f4ceb07ca3bdb366936690a9743.zip |
gnu: Add rust-tiny-http-0.11.
* gnu/packages/crates-web.scm (rust-tiny-http-0.11): New variable.
Change-Id: I2caf5d8044feb9091ab3a763f2035783d395c2db
Diffstat (limited to 'gnu/packages/crates-web.scm')
-rw-r--r-- | gnu/packages/crates-web.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index 2e1929a8da..da5910152c 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -4905,6 +4905,32 @@ alike. It's completely modular, and built directly for @code{async/await}.") (description "This package provides a low level HTTP server library.") (license (list license:expat license:asl2.0)))) +(define-public rust-tiny-http-0.11 + (package + (inherit rust-tiny-http-0.12) + (name "rust-tiny-http") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tiny_http" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jkpniq72ppbhppyxd2q36kjji05qljsvv1fhvxiwg6j217fzmp0")))) + (arguments + `(#:cargo-inputs (("rust-ascii" ,rust-ascii-1) + ("rust-chunked-transfer" ,rust-chunked-transfer-1) + ("rust-log" ,rust-log-0.4) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rustls" ,rust-rustls-0.20) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-0.2) + ("rust-time" ,rust-time-0.3) + ("rust-url" ,rust-url-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-fdlimit" ,rust-fdlimit-0.1) + ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) + ("rust-sha1" ,rust-sha1-0.6)))))) + (define-public rust-tiny-http-0.6 (package (inherit rust-tiny-http-0.12) |