guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

276/330: gnu: Add rust-headers-core-0.3.


From: guix-commits
Subject: 276/330: gnu: Add rust-headers-core-0.3.
Date: Mon, 18 Mar 2024 07:16:35 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 101152223a62ba0c458eeb4644c7739e0dfdd7ac
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Mar 18 11:43:20 2024 +0200

    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
---
 gnu/packages/crates-web.scm | 26 ++++++++++++++++++++------
 1 file 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]