summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-10-23 10:03:03 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-10-23 10:43:59 +0300
commit582630a1256939d5dc8a614386f5f0848644c8dc (patch)
tree89589179712204a3ee900df3605cf5848c90aa6b
parentdf9a615640f99bbcf413ac2f42ae681882d6e1d9 (diff)
downloadguix-582630a1256939d5dc8a614386f5f0848644c8dc.tar.gz
gnu: Add rust-serde-1.0.
* gnu/packages/rust-cbindgen.scm (rust-serde-1.0): New hidden variable.
-rw-r--r--gnu/packages/rust-cbindgen.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/rust-cbindgen.scm b/gnu/packages/rust-cbindgen.scm
index ecefb7e457..d72bd6d291 100644
--- a/gnu/packages/rust-cbindgen.scm
+++ b/gnu/packages/rust-cbindgen.scm
@@ -629,3 +629,23 @@ for Windows.")
       "Fast floating point to string conversion")
     (properties '((hidden? . #t)))
     (license (list license:asl2.0 license:boost1.0))))
+
+(define rust-serde-1.0
+  (package
+    (name "rust-serde")
+    (version "1.0.101")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "serde" version))
+        (file-name (string-append name "-" version ".crate"))
+        (sha256
+         (base32
+          "1p8r24hagcsrl92w5z32nfrg9040qkgqf8iwwnf7mzigpavwk5lp"))))
+    (build-system cargo-build-system)
+    (home-page "https://serde.rs")
+    (synopsis "Generic serialization/deserialization framework")
+    (description
+     "This package provides a generic serialization/deserialization framework.")
+    (properties '((hidden? . #t)))
+    (license (list license:expat license:asl2.0))))