guix-devel
[Top][All Lists]
Advanced

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

[PATCH 44/86] gnu: Add rust-rustc-serialize.


From: ng0
Subject: [PATCH 44/86] gnu: Add rust-rustc-serialize.
Date: Tue, 3 Jan 2017 23:36:00 +0000

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

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index c85697173..0ddea98f9 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -1240,3 +1240,26 @@ allocations in Rust programs.")
 display of mixed right-to-left and left-to-right text.  It is
 written in safe Rust, compatible with the current stable release.")
     (license (list license:expat license:asl2.0))))
+
+(define-public rust-rustc-serialize
+  (package
+    (name "rust-rustc-serialize")
+    (version "0.3.22")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rustc-serialize" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0ywmsdk4l4q68hkw37743cf8kl7dp71p6317h14v82zji734cx93"))))
+    (build-system cargo-build-system)
+    (native-inputs `(("rust-rand" ,rust-rand "src")))
+    (home-page "https://github.com/rust-lang/rustc-serialize";)
+    (synopsis "Generic serialization/deserialization support")
+    (description
+     "Generic serialization/deserialization support corresponding to the
address@hidden(RustcEncodable, RustcDecodable)} mode in the compiler.  It also
+includes support for hex, base64, and json encoding and decoding.")
+    (license (list license:expat license:asl2.0))))
-- 
2.11.0




reply via email to

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