guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 65/86] gnu: Add rust-toml.


From: ng0
Subject: [PATCH 65/86] gnu: Add rust-toml.
Date: Tue, 3 Jan 2017 23:36:21 +0000

* gnu/packages/rust.scm (rust-toml): New variable.
---
 gnu/packages/rust.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 7c326f3a1..44eadfdd9 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -1788,3 +1788,29 @@ environment variable.")
      "@code{quine-mc-cluskey} is the Rust implementation of the
 Quine-McCluskey algorithm and Petrick's method.")
     (license license:expat)))
+
+(define-public rust-toml
+  (package
+    (name "rust-toml")
+    (version "0.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "toml" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1d1cz43bxrx4fd6j2p6myckf81f72bp47akg36y3flxjkhj60svk"))))
+    (build-system cargo-build-system)
+    (inputs
+     `(; TODO: ("rust-serde" ,rust-serde "src")
+       ("rust-rustc-serialize" ,rust-rustc-serialize "src")))
+    (home-page "https://github.com/alexcrichton/toml-rs";)
+    (synopsis "Native Rust encoder and decoder of TOML-formatted files and 
streams")
+    (description
+     "Toml provides a native Rust encoder and decoder of TOML-formatted files
+and streams.  It provides implementations of the standard
+Encodable/Decodable traits for TOML data to facilitate deserializing
+and serializing Rust structures.")
+    (license (list license:expat license:asl2.0))))
-- 
2.11.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]