aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-10-23 10:04:00 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-10-23 10:43:59 +0300
commit1a7e2aa8edfdf7967ec864f17d9e2500dc289065 (patch)
tree73395bd6418a28fec8bdbdb702b38326981b4cbc
parent199d800546b6e97d9368f400b9b7a6cd0cc4c386 (diff)
downloadguix-1a7e2aa8edfdf7967ec864f17d9e2500dc289065.tar
guix-1a7e2aa8edfdf7967ec864f17d9e2500dc289065.tar.gz
gnu: Add rust-serde-json-1.0.
* gnu/packages/rust-cbindgen.scm (rust-serde-json-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 7ed9c0eef3..dacc33c534 100644
--- a/gnu/packages/rust-cbindgen.scm
+++ b/gnu/packages/rust-cbindgen.scm
@@ -670,3 +670,23 @@ for Windows.")
"Macros 1.1 implementation of #[derive(Serialize, Deserialize)]")
(properties '((hidden? . #t)))
(license (list license:expat license:asl2.0))))
+
+(define rust-serde-json-1.0
+ (package
+ (name "rust-serde-json")
+ (version "1.0.41")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "serde-json" version))
+ (file-name (string-append name "-" version ".crate"))
+ (sha256
+ (base32
+ "1hipk84x40454mf599752mi7l08wb8qakz8vd6d3zp57d0mfnwig"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/serde-rs/json")
+ (synopsis "A JSON serialization file format")
+ (description
+ "This package provides a JSON serialization file format.")
+ (properties '((hidden? . #t)))
+ (license (list license:expat license:asl2.0))))