guix-commits
[Top][All Lists]
Advanced

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

90/272: gnu: Add rust-headers-core-0.2.


From: guix-commits
Subject: 90/272: gnu: Add rust-headers-core-0.2.
Date: Sat, 13 Feb 2021 05:54:17 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit f335dac3e16297aad14e370de3858646b6f31ede
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Wed Feb 10 00:34:45 2021 +0100

    gnu: Add rust-headers-core-0.2.
    
    * gnu/packages/crates-io.scm (rust-headers-core-0.2): New variable.
    (rust-headers-core-0.1): Inherit from above.
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++------
 1 file changed, 23 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 58d1ac8..90e9f8c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15746,27 +15746,44 @@ their key-value pairs in a user controllable order.")
     (description "This package provides typed HTTP headers.")
     (license license:expat)))
 
-(define-public rust-headers-core-0.1
+(define-public rust-headers-core-0.2
   (package
     (name "rust-headers-core")
-    (version "0.1.1")
+    (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 "0ds20kg0igncs2r0jrcf26mq72k3j6ilanr0qwh7r7xak8kk2wcn"))))
+        (base32 "0ab469xfpd411mc3dhmjhmzrhqikzyj8a17jn5bkj9zfpy0n9xp7"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
-       (("rust-bytes" ,rust-bytes-0.4)
-        ("rust-http" ,rust-http-0.1))))
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-http" ,rust-http-0.2))))
     (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.1
+  (package
+    (inherit rust-headers-core-0.2)
+    (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"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bytes" ,rust-bytes-0.4)
+        ("rust-http" ,rust-http-0.1))))))
+
 (define-public rust-heapless-0.5
   (package
     (name "rust-heapless")



reply via email to

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