gnu: Add rust-json-0.12.

* gnu/packages/crates-io.scm (rust-json-0.12): New variable.
(rust-json-0.11): Inherit from rust-json-0.12.
This commit is contained in:
Efraim Flashner 2023-05-16 14:51:44 +03:00
parent 5ef386e4dc
commit f279ef6def
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -31761,8 +31761,27 @@ (define-public rust-js-sys-0.3
wasm-bindgen crate.")
(license (list license:asl2.0 license:expat))))
(define-public rust-json-0.12
(package
(name "rust-json")
(version "0.12.4")
(source (origin
(method url-fetch)
(uri (crate-uri "json" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1z9vybaaz3xq95bwmyln2ijmn4dmzj61xlz06jsc9dnzmxg2i3h7"))))
(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:expat license:asl2.0))))
(define-public rust-json-0.11
(package
(inherit rust-json-0.12)
(name "rust-json")
(version "0.11.15")
(source
@ -31773,14 +31792,7 @@ (define-public rust-json-0.11
(sha256
(base32
"1rg9jxf6bpbwis3ixd5ak8rp37him7n4z8awz4ssrxl6hyplbhlj"))))
(build-system cargo-build-system)
(arguments '(#:skip-build? #t))
(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))))
(arguments '(#:skip-build? #t))))
(define-public rust-juliex-0.3
(package