guix-devel
[Top][All Lists]
Advanced

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

[PATCH 76/86] gnu: Add rust-serde.


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

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

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 2facc9fd3..2fe5e366a 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -2085,3 +2085,25 @@ as little overhead as possible over the OS 
abstractions.")
      "Tokio-core provides Core I/O and event loop primitives for
 asynchronous I/O in Rust.")
     (license (list license:expat license:asl2.0))))
+
+(define-public rust-serde
+  (package
+    (name "rust-serde")
+    (version "0.8.21")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "serde" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0rls4w0gc1ngfx0c4bq8a0gz702fpkiv8gnml4z4frpp3kqnnz3v"))))
+    (build-system cargo-build-system)
+    (inputs
+     `(("rust-clippy" ,rust-clippy "src")))
+    (home-page "https://serde.rs";)
+    (synopsis "Generic serialization/deserialization framework")
+    (description
+     "Serde provides a generic serialization/deserialization framework.")
+    (license (list license:expat license:asl2.0))))
-- 
2.11.0




reply via email to

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