gnu: Add rust-tiny-http-0.11.

* gnu/packages/crates-web.scm (rust-tiny-http-0.11): New variable.

Change-Id: I2caf5d8044feb9091ab3a763f2035783d395c2db
This commit is contained in:
Efraim Flashner 2024-03-18 12:01:34 +02:00
parent fae58a14e8
commit 15b8d87ffb
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -4905,6 +4905,32 @@ (define-public rust-tiny-http-0.12
(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)