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

commit 8f3a61af18bb7d7e4d64c056ca197e922bad1e4d
Author: Efraim Flashner <[email protected]>
AuthorDate: Sun Dec 29 21:39:05 2024 +0200

    gnu: Add rust-human-date-parser-0.2.
    
    * gnu/packages/crates-io.scm (rust-human-date-parser-0.2): New variable.
    (rust-human-date-parser-0.1): Inherit from rust-human-date-parser-0.2.
    
    Change-Id: I5de072ff9814cb6894b54f38565b586ff2c1bf70
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++----
 1 file changed, 23 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 70609bce73..860d48d1f8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -34059,20 +34059,20 @@ characters in HTML, decoding and unescaping HTML 
entities as well.")
     (description "This library provides Rust bindings to HTSlib.")
     (license license:expat)))
 
-(define-public rust-human-date-parser-0.1
+(define-public rust-human-date-parser-0.2
   (package
     (name "rust-human-date-parser")
-    (version "0.1.2")
+    (version "0.2.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "human-date-parser" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "06jflxqah06cnbc5d9mmffmzrhw3ybj9aigyxag39k2pf5mgkjy5"))))
+        (base32 "0qqwf20wz13ww06i1xqr9hfbg4c598f34n442q90qxzyxd6wy5hi"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:tests? #f      ; use of undeclared crate or module `concat_idents`
+     `(#:tests? #f      ; unresolved import `concat_idents`
        #:cargo-inputs (("rust-chrono" ,rust-chrono-0.4)
                        ("rust-pest" ,rust-pest-2)
                        ("rust-pest-derive" ,rust-pest-derive-2)
@@ -34084,6 +34084,25 @@ characters in HTML, decoding and unescaping HTML 
entities as well.")
 usable by code.")
     (license license:expat)))
 
+(define-public rust-human-date-parser-0.1
+  (package
+    (inherit rust-human-date-parser-0.2)
+    (name "rust-human-date-parser")
+    (version "0.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "human-date-parser" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "06jflxqah06cnbc5d9mmffmzrhw3ybj9aigyxag39k2pf5mgkjy5"))))
+    (arguments
+     `(#:tests? #f      ; use of undeclared crate or module `concat_idents`
+       #:cargo-inputs (("rust-chrono" ,rust-chrono-0.4)
+                       ("rust-pest" ,rust-pest-2)
+                       ("rust-pest-derive" ,rust-pest-derive-2)
+                       ("rust-thiserror" ,rust-thiserror-1))))))
+
 (define-public rust-human-format-1
   (package
     (name "rust-human-format")

Reply via email to