gnu: Add rust-headers-core-0.1.

* gnu/packages/crates-io.scm (rust-headers-core-0.1): New variable.
This commit is contained in:
Nicolas Goaziou 2020-12-09 15:17:32 +01:00
parent 958789035f
commit 775991f049
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -11802,6 +11802,27 @@ (define-public rust-hashlink-0.6
their key-value pairs in a user controllable order.")
(license (list license:expat license:asl2.0))))
(define-public rust-headers-core-0.1
(package
(name "rust-headers-core")
(version "0.1.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "headers-core" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0ds20kg0igncs2r0jrcf26mq72k3j6ilanr0qwh7r7xak8kk2wcn"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bytes" ,rust-bytes-0.4)
("rust-http" ,rust-http-0.1))))
(home-page "https://hyper.rs")
(synopsis "Typed HTTP headers core trait")
(description "This package provides typed HTTP headers core trait.")
(license license:expat)))
(define-public rust-heapless-0.5
(package
(name "rust-heapless")