1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-16 03:50:45 +02:00

gnu: Add rust-dateparser-0.1.

* gnu/packages/crates-io.scm (rust-dateparser-0.1): New variable.

Change-Id: Icabce2e80fb1de6cbdb4d5489e53271a59e6f601
This commit is contained in:
Efraim Flashner 2025-01-03 12:11:28 +02:00
parent 394011bc05
commit d91c2edcb3
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -18875,6 +18875,31 @@ hexadecimal, base32, and base64.")
(description "This package provides Custom derive for the databake crate.")
(license license:unicode)))
(define-public rust-dateparser-0.1
(package
(name "rust-dateparser")
(version "0.1.8")
(source
(origin
(method url-fetch)
(uri (crate-uri "dateparser" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1i00pd2spxsz1d89n0ssf79q1w8ijx0p0rybx5d9z8lpzqhjmqf9"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
("rust-chrono" ,rust-chrono-0.4)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-regex" ,rust-regex-1))
#:cargo-development-inputs (("rust-chrono-tz" ,rust-chrono-tz-0.6)
("rust-criterion" ,rust-criterion-0.3))))
(home-page "https://github.com/waltzofpearls/dateparser")
(synopsis "Parse dates in string formats that are commonly used")
(description
"This package parses dates in string formats that are commonly used.")
(license license:expat)))
(define-public rust-datetime-0.5
(package
(name "rust-datetime")