me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-httpdate-1.

* gnu/packages/crates-io.scm (rust-httpdate-1): New variable.
(rust-httpdate-0.3): Inherit from above.
master
Nicolas Goaziou 2021-12-04 15:21:13 +01:00 committed by Leo Famulari
parent efd28775d7
commit 10ad1ee26d
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 21 additions and 7 deletions

View File

@ -23760,8 +23760,28 @@ HTTP request or response body.")
"This package provides a tiny, safe, speedy, zero-copy HTTP/1.x parser.")
(license (list license:asl2.0 license:expat))))
(define-public rust-httpdate-1
(package
(name "rust-httpdate")
(version "1.0.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "httpdate" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "08bln7b1ibdw26gl8h4dr6rlybvlkyhlha309xbh9ghxh9nf78f4"))))
(build-system cargo-build-system)
(arguments `(#:skip-build? #t))
(home-page "https://github.com/pyfisch/httpdate")
(synopsis "HTTP date parsing and formatting")
(description
"This crates parses and formats HTTP datetime strings.")
(license (list license:expat license:asl2.0))))
(define-public rust-httpdate-0.3
(package
(inherit rust-httpdate-1)
(name "rust-httpdate")
(version "0.3.2")
(source
@ -23771,13 +23791,7 @@ HTTP request or response body.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0izbd3sf0625wm4rrfv85xa4xa8j4n1ldxhwlkgff4cm6rh4sjs9"))))
(build-system cargo-build-system)
(arguments `(#:skip-build? #t))
(home-page "https://github.com/pyfisch/httpdate")
(synopsis "HTTP date parsing and formatting")
(description
"This crates parses and formats HTTP datetime strings.")
(license (list license:expat license:asl2.0))))
(arguments `(#:skip-build? #t))))
(define-public rust-humansize-1
(package