summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-12-04 00:15:18 +0100
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-04-14 15:11:08 -0400
commit2278caa4807b39584f9bbd12d491811b3594d390 (patch)
tree52366c178ff467dd2ca76a499879cd148c1ad1cf
parent08c6a8f953fb5a735cbaca2dc26e1595e0a41c72 (diff)
gnu: Add rust-toml-datetime.
* gnu/packages/crates-io.scm (rust-toml-datetime-0.5): New variable.
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7973893fb4..9864d9fa6f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62272,6 +62272,27 @@ serializing Rust structures.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-toml-datetime-0.5
+ (package
+ (name "rust-toml-datetime")
+ (version "0.5.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "toml_datetime" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1zcjvygkix0hm7nv7i6ag4fd0l1pglga1wyq2l8zgy0fgpjm32w0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-serde" ,rust-serde-1))))
+ (home-page "https://github.com/toml-rs/toml")
+ (synopsis "TOML-compatible datetime type")
+ (description
+ "This package provides a TOML-compatible datetime type for Rust.")
+ ;; The user can choose either license.
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-toml-edit-0.14
(package
(name "rust-toml-edit")