gnu: Add rust-httpdate-1.
* gnu/packages/crates-io.scm (rust-httpdate-1): New variable. (rust-httpdate-0.3): Inherit from above.
This commit is contained in:
parent
efd28775d7
commit
10ad1ee26d
1 changed files with 21 additions and 7 deletions
|
@ -23760,8 +23760,28 @@ HTTP request or response body.")
|
||||||
"This package provides a tiny, safe, speedy, zero-copy HTTP/1.x parser.")
|
"This package provides a tiny, safe, speedy, zero-copy HTTP/1.x parser.")
|
||||||
(license (list license:asl2.0 license:expat))))
|
(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
|
(define-public rust-httpdate-0.3
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-httpdate-1)
|
||||||
(name "rust-httpdate")
|
(name "rust-httpdate")
|
||||||
(version "0.3.2")
|
(version "0.3.2")
|
||||||
(source
|
(source
|
||||||
|
@ -23771,13 +23791,7 @@ HTTP request or response body.")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0izbd3sf0625wm4rrfv85xa4xa8j4n1ldxhwlkgff4cm6rh4sjs9"))))
|
(base32 "0izbd3sf0625wm4rrfv85xa4xa8j4n1ldxhwlkgff4cm6rh4sjs9"))))
|
||||||
(build-system cargo-build-system)
|
(arguments `(#:skip-build? #t))))
|
||||||
(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-humansize-1
|
(define-public rust-humansize-1
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue