Subject: [PATCH 092/156] gnu: Add rust-parse-duration-2.

From: Wilko Meyer <[email-masked]>
Date: Mon, 8 Jan 2024 02:53:09 +0100

* gnu/packages/crates-io.scm (rust-parse-duration-2): New variable.

Change-Id: I8aab70849059b756f02c72889581fda5ef436ebf
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1b595d34425..82695f85f4a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49396,6 +49396,28 @@ (define-public rust-parquet2-0.4
         ("rust-streaming-iterator" ,rust-streaming-iterator-0.1)
         ("rust-zstd" ,rust-zstd-0.9))))))
 
+(define-public rust-parse-duration-2
+  (package
+    (name "rust-parse-duration")
+    (version "2.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "parse_duration" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0pd97dmlv1i6pvr2byi65q1fzv667gvhnf3ld2lsawh17vlyadvh"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1)
+                       ("rust-num" ,rust-num-0.2)
+                       ("rust-regex" ,rust-regex-1))))
+    (home-page "https://github.com/zeta12ti/parse_duration/")
+    (synopsis "Parses a duration from a string.")
+    (description "Parses a duration from a string.")
+    (license license:expat)))
+
 (define-public rust-parse-zoneinfo-0.3
   (package
     (name "rust-parse-zoneinfo")
-- 
2.41.0