aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-03-31 14:12:45 +0300
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:45:18 +0300
commit5f96351f1b650709f8b66b6c65b3347280e3d552 (patch)
tree1868f121e345373e3896486b790335aae7e7d58e /gnu/packages
parentfc30b70205ccebbd054aced2cef27b4a42d4cfa7 (diff)
downloadguix-5f96351f1b650709f8b66b6c65b3347280e3d552.tar
guix-5f96351f1b650709f8b66b6c65b3347280e3d552.tar.gz
gnu: Add rust-dtparse-2.
* gnu/packages/crates-io.scm (rust-dtparse-2): New variable. (rust-dtparse-1): Inherit from rust-dtparse-2. Change-Id: I6985a0f755a00b2cd6dc426ca8df78dde46bbca5
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm37
1 files changed, 27 insertions, 10 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8b2a5888d6..edcff1cb31 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22033,26 +22033,24 @@ floating-point primitives to an @code{io::Write}.")
"Serialize float number and truncate to certain precision in Rust.")
(license license:mpl2.0)))
-(define-public rust-dtparse-1
+(define-public rust-dtparse-2
(package
(name "rust-dtparse")
- (version "1.3.0")
+ (version "2.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "dtparse" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1awhyy58c28fhr5nvvfpikdzraihichkz3w1mzdg7smyffldi4w2"))))
+ (base32 "0fg8h07m0z38c6i556dfmgnhl18i8w37cl235iyfzc9l3kz7r325"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
- (("rust-chrono" ,rust-chrono-0.4)
- ("rust-lazy-static" ,rust-lazy-static-1)
- ("rust-num-traits" ,rust-num-traits-0.2)
- ("rust-rust-decimal" ,rust-rust-decimal-1))
- #:cargo-development-inputs
- (("rust-base64" ,rust-base64-0.13))))
+ `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-rust-decimal" ,rust-rust-decimal-1))
+ #:cargo-development-inputs (("rust-base64" ,rust-base64-0.21))))
(home-page "https://github.com/bspeice/dtparse.git")
(synopsis "Dateutil-compatible timestamp parser for Rust")
(description
@@ -22060,6 +22058,25 @@ floating-point primitives to an @code{io::Write}.")
Rust.")
(license license:asl2.0)))
+(define-public rust-dtparse-1
+ (package
+ (inherit rust-dtparse-2)
+ (name "rust-dtparse")
+ (version "1.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dtparse" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1awhyy58c28fhr5nvvfpikdzraihichkz3w1mzdg7smyffldi4w2"))))
+ (arguments
+ `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-rust-decimal" ,rust-rust-decimal-1))
+ #:cargo-development-inputs (("rust-base64" ,rust-base64-0.13))))))
+
(define-public rust-duct-0.13
(package
(name "rust-duct")