From d9d83b482c40c8fbeaa5074083b8f6042a83f2fa Mon Sep 17 00:00:00 2001 From: Zheng junjie <873216071@qq.com> Date: Fri, 11 Jun 2021 21:11:57 +0800 Subject: [PATCH] gnu: Add rust-write-json-0.1. * gnu/packages/crates-io.scm (rust-write-json-0.1): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c7bf87c343..d70cd8bb2e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -52893,6 +52893,30 @@ (define-public rust-wio-0.2 API but without hiding any functionality.") (license (list license:expat license:asl2.0)))) +(define-public rust-write-json-0.1 + (package + (name "rust-write-json") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "write-json" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1qxr1xwwyf7rd270rvjlcssm515pikf0sg70wpiymz4miy29l1h6")))) + (build-system cargo-build-system) + (arguments `(#:skip-build? #t)) + (home-page + "https://github.com/matklad/write-json") + (synopsis + "Simple {dependency,trait,macro}-less JSON serialization") + (description + "This package provides a simple {dependency,trait,macro}-less JSON +serialization.") + (license (list license:expat license:asl2.0)))) + (define-public rust-ws2-32-sys-0.2 (package (name "rust-ws2-32-sys")