diff options
author | Herman Rimm <herman@rimm.ee> | 2024-02-18 22:08:08 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-07-19 00:43:33 +0300 |
commit | 1ab7b865ee59428390c3089d6f402f0333c3a93f (patch) | |
tree | 1e848c1dd336c8844ccf2f62565739dadb9daec8 /gnu/packages/crates-web.scm | |
parent | 6ce6a3eec63b8623056d1d15b3bad39d1c30b510 (diff) | |
download | guix-1ab7b865ee59428390c3089d6f402f0333c3a93f.tar.gz guix-1ab7b865ee59428390c3089d6f402f0333c3a93f.zip |
gnu: Add rust-json5-0.4.
* gnu/packages/crates-web.scm (rust-json5-0.4): Add variable.
Change-Id: I343686d8d1a484f1f351fe99c036e3bab06380c9
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-web.scm')
-rw-r--r-- | gnu/packages/crates-web.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index 5507a8ac30..fa3a08fb95 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -4074,6 +4074,32 @@ that integrates with Rust idioms.") ("rust-test-case" ,rust-test-case-1) ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.2)))))) +(define-public rust-json5-0.4 + (package + (name "rust-json5") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "json5" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1h9hni897zmn3vcixfbwwkj2gkz27h7z9dah8bk1qv37mwhxpc4n")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-pest" ,rust-pest-2) + ("rust-pest-derive" ,rust-pest-derive-2) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-matches" ,rust-matches-0.1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/callum-oakley/json5-rs") + (synopsis "Rust JSON5 serializer and deserializer which speaks Serde") + (description + "This package provides a Rust JSON5 serializer and deserializer +which speaks Serde.") + (license license:isc))) + (define-public rust-jsonwebtoken-7 (package (name "rust-jsonwebtoken") |