summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgyara <me@gyara.moe>2022-08-27 19:10:41 +0900
committerEfraim Flashner <efraim@flashner.co.il>2022-09-28 13:52:11 +0300
commitb3157f6ba43bfe91c33c27ffc1660dca642bf6da (patch)
treed7fae582aecc07342c47846affc5555ea9ee52f3
parente9352c6475674aa1716b22fdfd9826d4000fd920 (diff)
gnu: Add rust-datetime-0.5.
* gnu/packages/crates-io.scm (rust-datetime-0.5): New variable. (rust-datetime-0.4): Inherit from rust-datetime-0.5. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm41
1 files changed, 34 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3193f5a8a9..4f1d2333cd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16838,10 +16838,10 @@ hexadecimal, base32, and base64.")
"Processing of data: URL according to WHATWG's Fetch Standard.")
(license (list license:expat license:asl2.0))))
-(define-public rust-datetime-0.4
+(define-public rust-datetime-0.5
(package
(name "rust-datetime")
- (version "0.4.7")
+ (version "0.5.2")
(source
(origin
(method url-fetch)
@@ -16850,18 +16850,17 @@ hexadecimal, base32, and base64.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1fd74bq48xg8ki5yw1mr1pa5hd3j5lbk4iqc5r0kh3l62b0vci2w"))))
+ "1g2lhc2ay46njrnnyc0729ibyzkpv3r3d4g0h3gzwmrygykzghs4"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-iso8601" ,rust-iso8601-0.1)
- ("rust-kernel32-sys" ,rust-kernel32-sys-0.2)
+ (("rust-iso8601" ,rust-iso8601-0.3)
("rust-libc" ,rust-libc-0.2)
("rust-locale" ,rust-locale-0.2)
- ("rust-num-traits" ,rust-num-traits-0.1)
+ ("rust-num-traits" ,rust-num-traits-0.2)
("rust-pad" ,rust-pad-0.1)
("rust-redox-syscall" ,rust-redox-syscall-0.1)
- ("rust-winapi" ,rust-winapi-0.2))
+ ("rust-winapi" ,rust-winapi-0.3))
#:cargo-development-inputs
(("rust-regex" ,rust-regex-0.1)
("rust-rustc-serialize" ,rust-rustc-serialize-0.3))))
@@ -16871,6 +16870,34 @@ hexadecimal, base32, and base64.")
and arithmetic.")
(license license:expat)))
+(define-public rust-datetime-0.4
+ (package
+ (inherit rust-datetime-0.5)
+ (name "rust-datetime")
+ (version "0.4.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "datetime" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1fd74bq48xg8ki5yw1mr1pa5hd3j5lbk4iqc5r0kh3l62b0vci2w"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-iso8601" ,rust-iso8601-0.1)
+ ("rust-kernel32-sys" ,rust-kernel32-sys-0.2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-locale" ,rust-locale-0.2)
+ ("rust-num-traits" ,rust-num-traits-0.1)
+ ("rust-pad" ,rust-pad-0.1)
+ ("rust-redox-syscall" ,rust-redox-syscall-0.1)
+ ("rust-winapi" ,rust-winapi-0.2))
+ #:cargo-development-inputs
+ (("rust-regex" ,rust-regex-0.1)
+ ("rust-rustc-serialize" ,rust-rustc-serialize-0.3))))))
+
(define-public rust-dbl-0.3
(package
(name "rust-dbl")