diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-08-04 13:51:21 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-08-12 11:57:25 +0300 |
commit | bfe256ba2c307764068d0c9ff6913f413bd7f122 (patch) | |
tree | 9c41e553a04dad3be6c4c8f625eed420d57588e9 | |
parent | 81749732dd2f79ef0cddc498c70f732137c873ff (diff) | |
download | patches-bfe256ba2c307764068d0c9ff6913f413bd7f122.tar patches-bfe256ba2c307764068d0c9ff6913f413bd7f122.tar.gz |
gnu: Add rust-json.
* gnu/packages/creates-io.scm (rust-json): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 73f7b51a59..86d6d8cd01 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -293,6 +293,26 @@ primitives to an @code{io::Write}.") (license (list license:asl2.0 license:expat)))) +(define-public rust-json + (package + (name "rust-json") + (version "0.11.14") + (source + (origin + (method url-fetch) + (uri (crate-uri "json" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1hj8c6xj5c2aqqszi8naaflmcdbya1i9byyjrq4iybxjb4q91mq1")))) + (build-system cargo-build-system) + (home-page "https://github.com/maciejhirsz/json-rust") + (synopsis "JSON implementation in Rust") + (description "This crate provides a JSON implementation in Rust, reducing +friction with idiomatic Rust structs to ease interopability.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-proc-macro2 (package (name "rust-proc-macro2") |