diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-03-31 14:58:00 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-07-19 00:45:51 +0300 |
commit | e9e38bf06c1970a3867da7633b5ac0a2ff6e6bc9 (patch) | |
tree | d7c7a6ab5e5e102335cc2cfa61d9055525ec0183 /gnu/packages | |
parent | 3a8b37a1e81e03d0aa980ab1955b905ca14111aa (diff) | |
download | guix-e9e38bf06c1970a3867da7633b5ac0a2ff6e6bc9.tar.gz |
gnu: Add rust-human-date-parser-0.1.
* gnu/packages/crates-io.scm (rust-human-date-parser-0.1): New variable. Change-Id: I910d9c24d56ed2c0fec0af794facee044d253a18
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index fe0f6eabdd..82cbe67ada 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -31803,6 +31803,31 @@ characters in HTML, decoding and unescaping HTML entities as well.") and traversing, manipulating, and querying the document tree.") (license license:expat))) +(define-public rust-human-date-parser-0.1 + (package + (name "rust-human-date-parser") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "human-date-parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1g7hlbayw3jknj010jhrcxscyrgpz2s08q3v74337h7xs4x5pmlj")))) + (build-system cargo-build-system) + (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)))) + (home-page "https://github.com/technologicalMayhem/human-date-parser") + (synopsis "Parse human-readable strings that express dates") + (description + "This package parses strings that express dates in a human way into ones +usable by code.") + (license license:expat))) + (define-public rust-human-format-1 (package (name "rust-human-format") |