[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#52149] [PATCH 12/26] gnu: Add rust-time-0.3.
From: |
(unmatched-parenthesis |
Subject: |
[bug#52149] [PATCH 12/26] gnu: Add rust-time-0.3. |
Date: |
Mon, 27 Dec 2021 16:50:49 +0000 |
* gnu/packages/crates-io.scm (rust-time-0.3): New variable.
* gnu/packages/crates-io.scm (rust-time-0.2): Inherit from rust-time-0.3.
* gnu/packages/crates-io.scm (rust-time-0.1): Inherit from rust-time-0.2.
---
gnu/packages/crates-io.scm | 61 ++++++++++++++++++++++++++++----------
1 file changed, 45 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f9bb0e7cca..268caec740 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -54810,8 +54810,44 @@ (define-public rust-tikv-jemalloc-ctl-0.4
introspection APIs.")
(license (list license:expat license:asl2.0))))
+(define-public rust-time-0.3
+ (package
+ (name "rust-time")
+ (version "0.3.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "time" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1b943jf54q1667i328x3z73fsjdhcqdqccxckx1nzwwaz9ygxvs1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-itoa" ,rust-itoa-0.4)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-quickcheck" ,rust-quickcheck-1)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-time-macros" ,rust-time-macros-0.2))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-criterion-cycles-per-byte" ,rust-criterion-cycles-per-byte-0.1)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-test" ,rust-serde-test-1)
+ ("rust-trybuild" ,rust-trybuild-1))))
+ (home-page "https://github.com/time-rs/time")
+ (synopsis "Date and time library")
+ (description "This package provides a date and time library. It is fully
+interoperable with the standard library, and is mostly compatible with
+@code{#![no_std]}.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-time-0.2
(package
+ (inherit rust-time-0.3)
(name "rust-time")
(version "0.2.23")
(source
@@ -54821,7 +54857,6 @@ (define-public rust-time-0.2
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "12z95k0005rmyn9pf9v4hq80khsns7y5wfydnjr5jpci2yiyxnmw"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-const-fn" ,rust-const-fn-0.4)
@@ -54836,27 +54871,21 @@ (define-public rust-time-0.2
#:cargo-development-inputs
(("rust-rand" ,rust-rand-0.7)
("rust-serde-json" ,rust-serde-json-1)
- ("rust-standback" ,rust-standback-0.2))))
- (home-page "https://github.com/time-rs/time")
- (synopsis "Date and time library")
- (description "This package provides a date and time library. It is fully
-interoperable with the standard library, and is mostly compatible with
-@code{#![no_std]}.")
- (license (list license:expat license:asl2.0))))
+ ("rust-standback" ,rust-standback-0.2))))))
(define-public rust-time-0.1
(package
+ (inherit rust-time-0.2)
(name "rust-time")
(version "0.1.43")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "time" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0f14wrgxj7ya2v4msg5mni7046bsm2angm7cn3pd3yv04gpm12na"))))
- (build-system cargo-build-system)
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "time" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0f14wrgxj7ya2v4msg5mni7046bsm2angm7cn3pd3yv04gpm12na"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
--
2.34.0
- [bug#52149] [PATCH 20/26] gnu: Update rust-os-info-3., (continued)
- [bug#52149] [PATCH 20/26] gnu: Update rust-os-info-3., (unmatched-parenthesis, 2021/12/27
- [bug#52149] [PATCH 17/26] gnu: Update rust-itertools-0.10., (unmatched-parenthesis, 2021/12/27
- [bug#52149] [PATCH 14/26] gnu: Change checksum of rust-cargo-platform-0.1., (unmatched-parenthesis, 2021/12/27
- [bug#52149] [PATCH 22/26] gnu: Add rust-loom-0.5., (unmatched-parenthesis, 2021/12/27
- [bug#52149] [PATCH 10/26] gnu: Update rust-trybuild-1., (unmatched-parenthesis, 2021/12/27
- [bug#52149] [PATCH 09/26] gnu: Add rust-version-sync-0.9., (unmatched-parenthesis, 2021/12/27
- [bug#52149] [PATCH 15/26] gnu: Add rust-generator-0.7., (unmatched-parenthesis, 2021/12/27
- [bug#52149] [PATCH 19/26] gnu: Add rust-rustfix-0.6., (unmatched-parenthesis, 2021/12/27
- [bug#52149] [PATCH 26/26] gnu: Add rust-time-macros-0.2., (unmatched-parenthesis, 2021/12/27
- [bug#52149] [PATCH 23/26] gnu: Add rust-opener-0.5., (unmatched-parenthesis, 2021/12/27
- [bug#52149] [PATCH 12/26] gnu: Add rust-time-0.3.,
(unmatched-parenthesis <=
- [bug#52149] [PATCH 13/26] gnu: Update rust-cargo-metadata-0.6., (unmatched-parenthesis, 2021/12/27
- [bug#52149] [PATCH 18/26] gnu: Add rust-matchers-0.1., (unmatched-parenthesis, 2021/12/27
- [bug#52149] [PATCH 21/26] gnu: Add rust-similar-0.4., (unmatched-parenthesis, 2021/12/27
- [bug#52149] [PATCH 24/26] gnu: Update rust-socket2-0.4., (unmatched-parenthesis, 2021/12/27
- [bug#52149] [PATCH 25/26] gnu: Update rust-tar-0.4., (unmatched-parenthesis, 2021/12/27