diff options
author | gyara <me@gyara.moe> | 2022-08-27 19:10:39 +0900 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2022-09-28 13:52:11 +0300 |
commit | e9352c6475674aa1716b22fdfd9826d4000fd920 (patch) | |
tree | c2f50733b2a4e0ec8cf7ff8c1d07aa7d9cc71191 /gnu | |
parent | 3ff582b82b047f709b761ccf075809c66fef7957 (diff) | |
download | guix-e9352c6475674aa1716b22fdfd9826d4000fd920.tar guix-e9352c6475674aa1716b22fdfd9826d4000fd920.tar.gz |
gnu: Add rust-iso8601-0.3.
* gnu/packages/crates-io.scm (rust-iso8601-0.3): New variable.
(rust-iso8601-0.1): Inherit from rust-iso8601-0.3.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9329990d22..3193f5a8a9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -30360,8 +30360,30 @@ and locking in the core framework.") whether or not a given path points to an executable file.") (license (list license:expat license:asl2.0)))) +(define-public rust-iso8601-0.3 + (package + (name "rust-iso8601") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "iso8601" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0vvn6f9gv2295ik77nvaz99wzbwz1bmasrd787sz6d9mlwa6ks23")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-nom" ,rust-nom-4)))) + (home-page "https://github.com/badboy/iso8601") + (synopsis "Parsing ISO8601 dates using nom") + (description "Parsing ISO8601 dates using nom.") + (license license:expat))) + (define-public rust-iso8601-0.1 (package + (inherit rust-iso8601-0.3) (name "rust-iso8601") (version "0.1.1") (source @@ -30377,11 +30399,7 @@ whether or not a given path points to an executable file.") (arguments `(#:cargo-inputs (("rust-clippy" ,rust-clippy-0.0) - ("rust-nom" ,rust-nom-1)))) - (home-page "https://github.com/badboy/iso8601") - (synopsis "Parsing ISO8601 dates using nom") - (description "Parsing ISO8601 dates using nom.") - (license license:expat))) + ("rust-nom" ,rust-nom-1)))))) (define-public rust-itertools-0.10 (package |