me
/
guix
Archived
1
0
Fork 0

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
Efraim Flashner 2023-10-27 20:55:32 +03:00
parent e8f33fb7b9
commit 50abe74767
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 35 additions and 10 deletions

View File

@ -79261,8 +79261,42 @@ stream-based WebSocket implementation.")
"This package provides asynchronous Virtio socket support for Rust.") "This package provides asynchronous Virtio socket support for Rust.")
(license license:asl2.0))) (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 (define-public rust-toml-0.7
(package (package
(inherit rust-toml-0.8)
(name "rust-toml") (name "rust-toml")
(version "0.7.8") (version "0.7.8")
(source (origin (source (origin
@ -79272,7 +79306,6 @@ stream-based WebSocket implementation.")
(sha256 (sha256
(base32 (base32
"0mr2dpmzw4ndvzpnnli2dprcx61pdk62fq4mzw0b6zb27ffycyfx")))) "0mr2dpmzw4ndvzpnnli2dprcx61pdk62fq4mzw0b6zb27ffycyfx"))))
(build-system cargo-build-system)
(arguments (arguments
`(#:cargo-inputs `(#:cargo-inputs
(("rust-indexmap" ,rust-indexmap-2) (("rust-indexmap" ,rust-indexmap-2)
@ -79284,15 +79317,7 @@ stream-based WebSocket implementation.")
(("rust-serde" ,rust-serde-1) (("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1) ("rust-serde-json" ,rust-serde-json-1)
("rust-snapbox" ,rust-snapbox-0.4) ("rust-snapbox" ,rust-snapbox-0.4)
("rust-toml-test-harness" ,rust-toml-test-harness-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))))
(define-public rust-toml-0.6 (define-public rust-toml-0.6
(package (package