gnu: Add rust-gjson-0.8.

* gnu/packages/crates-io.scm (rust-gjson-0.8): New variable.
(rust-gjson-0.7): Inherit from above.
This commit is contained in:
Nicolas Goaziou 2021-12-17 22:39:44 +01:00
parent f98aba9b7b
commit b90b5df709
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -21663,8 +21663,27 @@ (define-public rust-git2-curl-0.14
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 @@ (define-public rust-gjson-0.7
(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