[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/07: gnu: Add rust-iso8601-0.3.
From: |
guix-commits |
Subject: |
02/07: gnu: Add rust-iso8601-0.3. |
Date: |
Wed, 28 Sep 2022 06:53:48 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit e9352c6475674aa1716b22fdfd9826d4000fd920
Author: gyara <me@gyara.moe>
AuthorDate: Sat Aug 27 19:10:39 2022 +0900
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>
---
gnu/packages/crates-io.scm | 28 +++++++++++++++++++++++-----
1 file 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
- branch master updated (a8ff78eaf5 -> 1590d6d58e), guix-commits, 2022/09/28
- 01/07: gnu: Add rust-number-prefix-0.4., guix-commits, 2022/09/28
- 02/07: gnu: Add rust-iso8601-0.3.,
guix-commits <=
- 04/07: gnu: Add rust-zoneinfo-compiled-0.5., guix-commits, 2022/09/28
- 05/07: gnu: exa: Update to 0.10.1., guix-commits, 2022/09/28
- 06/07: gnu: exa: Don't install source., guix-commits, 2022/09/28
- 07/07: gnu: exa: Only build with pandoc when supported., guix-commits, 2022/09/28
- 03/07: gnu: Add rust-datetime-0.5., guix-commits, 2022/09/28