From b480801b539353ff162e781d683306e7a56d0d8e Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Fri, 17 Dec 2021 22:39:44 +0100 Subject: [PATCH] gnu: Add rust-gjson-0.8. * gnu/packages/crates-io.scm (rust-gjson-0.8): New variable. (rust-gjson-0.7): Inherit from above. --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2406fe3d6e..8820133b5e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -21663,8 +21663,27 @@ reading and writing git repositories.") libcurl, which is intended to be used with the @code{git2} crate.") (license (list license:expat license:asl2.0)))) +(define-public rust-gjson-0.8 + (package + (name "rust-gjson") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gjson" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "164nwjx81j8cnnvi63h0dcxdc9ib3s0k9wx15l72hxp4vklx16a5")))) + (build-system cargo-build-system) + (arguments `(#:skip-build? #t)) + (home-page "https://github.com/tidwall/gjson.rs") + (synopsis "JSON parser for Rust") + (description "Gjson is a JSON parser for Rust.") + (license license:expat))) + (define-public rust-gjson-0.7 (package + (inherit rust-gjson-0.8) (name "rust-gjson") (version "0.7.5") (source @@ -21674,12 +21693,7 @@ libcurl, which is intended to be used with the @code{git2} crate.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0vhary4ha77scriaw6r4nv16ha9pfzirm84sjc240csqwb542p10")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page "https://github.com/tidwall/gjson.rs") - (synopsis "JSON parser for Rust") - (description "Gjson is a JSON parser for Rust.") - (license license:expat))) + (arguments `(#:skip-build? #t)))) (define-public rust-glam-0.17 (package