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>
This commit is contained in:
gyara 2022-08-27 19:10:39 +09:00 committed by Efraim Flashner
parent 3ff582b82b
commit e9352c6475
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -30360,8 +30360,30 @@ (define-public rust-is-executable-1
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 @@ (define-public rust-iso8601-0.1
(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