summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-10-05 13:27:55 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-10-05 13:39:08 +0300
commitd2aad1a89421291eee12c46d3a266382b0fa4617 (patch)
treebb865942fa67698d006ff9e94ba842568ec76f18 /gnu/packages
parent2e0a4f1bcea33959b3ce201211fc1bb386b5cde5 (diff)
gnu: Add rust-toml-0.4.
* gnu/packages/crates-io.scm (rust-toml-0.4): New variable.
Diffstat (limited to 'gnu/packages')
-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 dfb6949ff6..74f8382124 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25800,6 +25800,27 @@ serializing Rust structures.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-toml-0.4
+ (package
+ (inherit rust-toml-0.5)
+ (name "rust-toml")
+ (version "0.4.10")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "toml" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "07qilkzinn8z13vq2sss65n2lza7wrmqpvkbclw919m3f7y691km"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs
+ (("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-serde-json" ,rust-serde-json-1))))))
+
(define-public rust-toml-0.2
(package
(name "rust-toml")