summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorWilko Meyer <w@wmeyer.eu>2024-01-08 02:52:38 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:46 +0200
commitcb5cfc2f97c7ba1ba88b929607568290b6f7b9b1 (patch)
treed840bc8d7cd8f513b41e8d8409f10acce8807931 /gnu/packages/crates-io.scm
parentb1f8862e2c5f2c05cdf1a5d7e475dcf9b2bd27c8 (diff)
downloadguix-cb5cfc2f97c7ba1ba88b929607568290b6f7b9b1.tar.gz
gnu: Add rust-http-range-header-0.3.
* gnu/packages/crates-io.scm (rust-http-range-header-0.3): New variable.

Change-Id: I9f2d558419be7b57f328bcecd8f42f9b5be4704f
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3ceadde179..12681403c7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31488,6 +31488,29 @@ HTTP request or response body.")
     (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
+  (package
+    (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"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.5)
+        ("rust-quickcheck" ,rust-quickcheck-1)
+        ("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.")
+    (license license:expat)))
+
 (define-public rust-http-types-2
   (package
     (name "rust-http-types")