diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2023-05-16 14:51:44 +0300 | 
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2023-08-14 19:37:40 +0300 | 
| commit | f279ef6def6c1f65cd9cbdd74f5e92abbe19032f (patch) | |
| tree | 753a7fad0de24ce8470f3976c29087f65ff2d763 /gnu/packages | |
| parent | 5ef386e4dc2eecb0bd2d01515bfa35b376571042 (diff) | |
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.
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/crates-io.scm | 28 | 
1 files changed, 20 insertions, 8 deletions
| diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 15cf604cc0..db78ab5b42 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -31761,8 +31761,27 @@ like Node.js and browsers, built on @code{#[wasm_bindgen]} using the  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 @@ wasm-bindgen crate.")          (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 | 
