guix-commits
[Top][All Lists]
Advanced

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

187/330: gnu: Add rust-http-range-header-0.4.


From: guix-commits
Subject: 187/330: gnu: Add rust-http-range-header-0.4.
Date: Mon, 18 Mar 2024 07:16:05 -0400 (EDT)

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

commit 4a8727797baa4f74fa9d5624fb17f9ea8960accc
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:02:57 2024 +0100

    gnu: Add rust-http-range-header-0.4.
    
    * gnu/packages/rust-apps.scm (rust-http-range-header-0.4): Add variable.
    (rust-http-range-header-0.3): Inherit rust-http-range-header-0.4.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-web.scm | 24 +++++++++++++++++++-----
 1 file changed, 19 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 05cc9c4f37..65692183f8 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -2795,17 +2795,17 @@ response bodies.")
     (description "This package provides types and traits for HTTP clients.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-http-range-header-0.3
+(define-public rust-http-range-header-0.4
   (package
     (name "rust-http-range-header")
-    (version "0.3.1")
+    (version "0.4.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "http-range-header" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "13vm511vq3bhschkw2xi9nhxzkw53m55gn9vxg7qigfxc29spl5d"))))
+        (base32 "1zhigmvyrk50jzll6nmn7n1rxkfzh8xn0838dvdvnj52rlqyzr1w"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-development-inputs
@@ -2814,10 +2814,24 @@ response bodies.")
         ("rust-quickcheck-macros" ,rust-quickcheck-macros-1)
         ("rust-regex" ,rust-regex-1))))
     (home-page "https://github.com/MarcusGrass/parse-range-headers";)
-    (synopsis "No-dep range header parser")
-    (description "This crate provides a no-dep range header parser.")
+    (synopsis "Zero-dependency range header parser")
+    (description "This package provides a range header parser without any
+dependencies.")
     (license license:expat)))
 
+(define-public rust-http-range-header-0.3
+  (package
+    (inherit rust-http-range-header-0.4)
+    (name "rust-http-range-header")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "http-range-header" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "13vm511vq3bhschkw2xi9nhxzkw53m55gn9vxg7qigfxc29spl5d"))))))
+
 (define-public rust-http-types-2
   (package
     (name "rust-http-types")



reply via email to

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