aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-web.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-03-18 11:43:20 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:43:00 +0300
commit209cd23aa022e59f5fc1eb669af41b32081da3f8 (patch)
tree4c9c796e95e795dfb1409f087199a22ba3ba9a03 /gnu/packages/crates-web.scm
parent9c66edb8c618ad7c8f8733cb72d5fca789fe8668 (diff)
downloadguix-209cd23aa022e59f5fc1eb669af41b32081da3f8.tar.gz
guix-209cd23aa022e59f5fc1eb669af41b32081da3f8.zip
gnu: Add rust-headers-core-0.3.
* gnu/packages/crates-web.scm (rust-headers-core-0.3): New variable. (rust-headers-core-0.2): Inherit from rust-headers-core-0.3. Change-Id: Ia8288ab5dec0edbbe39857e4aa15b8eb4fb7d52c
Diffstat (limited to 'gnu/packages/crates-web.scm')
-rw-r--r--gnu/packages/crates-web.scm26
1 files changed, 20 insertions, 6 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 965455aa7c..c8bcf771c9 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -2474,27 +2474,41 @@ transfer coding.")
("rust-sha-1" ,rust-sha-1-0.8)
("rust-time" ,rust-time-0.1))))))
-(define-public rust-headers-core-0.2
+(define-public rust-headers-core-0.3
(package
(name "rust-headers-core")
- (version "0.2.0")
+ (version "0.3.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "headers-core" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0ab469xfpd411mc3dhmjhmzrhqikzyj8a17jn5bkj9zfpy0n9xp7"))))
+ (base32 "1r1w80i2bhmyh8s5mjr2dz6baqlrm6cak6yvzm4jq96lacjs5d2l"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-http" ,rust-http-0.2))))
+ `(#:cargo-inputs (("rust-http" ,rust-http-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-headers-core-0.2
+ (package
+ (inherit rust-headers-core-0.3)
+ (name "rust-headers-core")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "headers-core" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ab469xfpd411mc3dhmjhmzrhqikzyj8a17jn5bkj9zfpy0n9xp7"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-http" ,rust-http-0.2))))))
+
(define-public rust-headers-core-0.1
(package
(inherit rust-headers-core-0.2)