summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-10-23 10:07:02 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-10-23 10:44:00 +0300
commit5cf89cec6c8daeb9c77dc06f9a93a7bbac6651c4 (patch)
treee976d047fddf37e68777c72586c5d62051107c9e
parentda6a445a4055a2594b2bb79b9155880afa0bb997 (diff)
gnu: Add rust-toml-0.5.
* gnu/packages/rust-cbindgen.scm (rust-toml-0.5): New hidden variable.
-rw-r--r--gnu/packages/rust-cbindgen.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/rust-cbindgen.scm b/gnu/packages/rust-cbindgen.scm
index bc9f21544a..51eb647453 100644
--- a/gnu/packages/rust-cbindgen.scm
+++ b/gnu/packages/rust-cbindgen.scm
@@ -794,3 +794,27 @@ for display in commandline applications. It is designed to be efficient and
handle Unicode characters correctly.")
(properties '((hidden? . #t)))
(license license:expat)))
+
+(define rust-toml-0.5
+ (package
+ (name "rust-toml")
+ (version "0.5.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "toml" version))
+ (file-name (string-append name "-" version ".crate"))
+ (sha256
+ (base32
+ "093p48vpqm4bb8q3514xsij0dkljxlr3jp9ypxr4p48xjisvxan7"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/alexcrichton/toml-rs")
+ (synopsis "Rust encoder and decoder of TOML-formatted files and streams")
+ (description
+ "This package provides a native Rust encoder and decoder of TOML-formatted
+files and streams. Provides implementations of the standard
+Serialize/Deserialize traits for TOML data to facilitate deserializing and
+serializing Rust structures.")
+ (properties '((hidden? . #t)))
+ (license (list license:asl2.0
+ license:expat))))