diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-10-27 20:55:32 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-11-28 07:58:52 +0200 |
commit | 50abe7476717b837746fd49b820dc52b408fa349 (patch) | |
tree | 34cd097b744603622b405631351301ab551da814 | |
parent | e8f33fb7b9cd0f409f7e7ba68f2f2c7ee4dfac4c (diff) | |
download | guix-50abe7476717b837746fd49b820dc52b408fa349.tar.gz |
gnu: Add rust-toml-0.8.
* gnu/packages/crates-io.scm (rust-toml-0.8): New variable. (rust-toml-0.7): Inherit from rust-toml-0.8. Change-Id: Ie1e2e57977030c988a50a5ca0807f7ab6b786a57
-rw-r--r-- | gnu/packages/crates-io.scm | 45 |
1 files changed, 35 insertions, 10 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 736968f577..656df10fd0 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -79261,8 +79261,42 @@ stream-based WebSocket implementation.") "This package provides asynchronous Virtio socket support for Rust.") (license license:asl2.0))) +(define-public rust-toml-0.8 + (package + (name "rust-toml") + (version "0.8.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "toml" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "007qybpfp0n0j780d6lldvsy9m9vjx6lxkkwak63jlwdqwkz3yiy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-indexmap" ,rust-indexmap-2) + ("rust-serde" ,rust-serde-1) + ("rust-serde-spanned" ,rust-serde-spanned-0.6) + ("rust-toml-datetime" ,rust-toml-datetime-0.6) + ("rust-toml-edit" ,rust-toml-edit-0.20)) + #:cargo-development-inputs + (("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-snapbox" ,rust-snapbox-0.4) + ("rust-toml-test-data" ,rust-toml-test-data-1) + ("rust-toml-test-harness" ,rust-toml-test-harness-0.4)))) + (home-page "https://github.com/toml-rs/toml") + (synopsis "Rust encoder and decoder of TOML-formatted files and streams") + (description + "This package provides a native Rust encoder and decoder of TOML-formatted +files and streams. Provides implementations of the standard +Serialize/Deserialize traits for TOML data to facilitate deserializing and +serializing Rust structures.") + (license (list license:expat license:asl2.0)))) + (define-public rust-toml-0.7 (package + (inherit rust-toml-0.8) (name "rust-toml") (version "0.7.8") (source (origin @@ -79272,7 +79306,6 @@ stream-based WebSocket implementation.") (sha256 (base32 "0mr2dpmzw4ndvzpnnli2dprcx61pdk62fq4mzw0b6zb27ffycyfx")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-indexmap" ,rust-indexmap-2) @@ -79284,15 +79317,7 @@ stream-based WebSocket implementation.") (("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-snapbox" ,rust-snapbox-0.4) - ("rust-toml-test-harness" ,rust-toml-test-harness-0.4)))) - (home-page "https://github.com/toml-rs/toml") - (synopsis "Rust encoder and decoder of TOML-formatted files and streams") - (description - "This package provides a native Rust encoder and decoder of TOML-formatted -files and streams. Provides implementations of the standard -Serialize/Deserialize traits for TOML data to facilitate deserializing and -serializing Rust structures.") - (license (list license:expat license:asl2.0)))) + ("rust-toml-test-harness" ,rust-toml-test-harness-0.4)))))) (define-public rust-toml-0.6 (package |