aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-14 16:33:22 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:38 +0200
commitef647e92014c46f5e9ca87ed38f14edfa5a7791d (patch)
tree4331a11b8ef5bf1198508a44f54f5112e9a6d004 /gnu/packages/crates-io.scm
parent1aa14e69a0723be036431a27b9c7db62ef473dd5 (diff)
downloadguix-ef647e92014c46f5e9ca87ed38f14edfa5a7791d.tar.gz
guix-ef647e92014c46f5e9ca87ed38f14edfa5a7791d.zip
gnu: Add rust-iso8601-0.4.
* gnu/packages/crates-io.scm (rust-iso8601-0.4): New variable. (rust-iso8601-0.3): Inherit from rust-iso8601-0.4. Change-Id: I97cc38acbdcab03df25823ffd7d11a11fbae6f2f
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 21 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3c8e0f4fd0..e2fd3fc249 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33694,8 +33694,28 @@ whether or not a given path points to an executable file.")
stream runs in a TTY.")
(license license:expat)))
+(define-public rust-iso8601-0.4
+ (package
+ (name "rust-iso8601")
+ (version "0.4.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "iso8601" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "15nfg6d4qlniw4gk7039s5y07lzgr1dp9snsw63lsxarnyz4zfg5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-nom" ,rust-nom-7))))
+ (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.3
(package
+ (inherit rust-iso8601-0.4)
(name "rust-iso8601")
(version "0.3.0")
(source
@@ -33707,13 +33727,8 @@ stream runs in a TTY.")
(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)))
+ `(#:cargo-inputs (("rust-nom" ,rust-nom-4))))))
(define-public rust-isolang-2
(package