diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-05-22 17:10:15 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-08-14 19:37:56 +0300 |
commit | 3f79c84f6820f57c79341377ab624ed8b87dadb0 (patch) | |
tree | dd9d25dbcb3ed2c3d307af4ca65e658d39589e03 | |
parent | baee9dfcdde1129fa4865d503d052270623dbb39 (diff) | |
download | guix-3f79c84f6820f57c79341377ab624ed8b87dadb0.tar guix-3f79c84f6820f57c79341377ab624ed8b87dadb0.tar.gz |
gnu: Add rust-serde-yaml-0.9.
* gnu/packages/crates-io.scm (rust-serde-yaml-0.9): New variable.
(rust-serde-yaml-0.8): Inherit from rust-serde-yaml-0.9.
-rw-r--r-- | gnu/packages/crates-io.scm | 36 |
1 files changed, 30 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ca521f52fc..9e6237d8a1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -57035,8 +57035,37 @@ for later processing.") (compatible with 0.9+)") (license license:expat))) +(define-public rust-serde-yaml-0.9 + (package + (name "rust-serde-yaml") + (version "0.9.21") + (source (origin + (method url-fetch) + (uri (crate-uri "serde-yaml" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1714w6f5b2g4svha9r96cirz05mc0d9xfaxkcrabzqvxxkiq9mnr")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-indexmap" ,rust-indexmap-1) + ("rust-itoa" ,rust-itoa-1) + ("rust-ryu" ,rust-ryu-1) + ("rust-serde" ,rust-serde-1) + ("rust-unsafe-libyaml" ,rust-unsafe-libyaml-0.2)) + #:cargo-development-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-indoc" ,rust-indoc-2) + ("rust-serde-derive" ,rust-serde-derive-1)))) + (home-page "https://github.com/dtolnay/serde-yaml") + (synopsis "YAML support for Serde") + (description "This package provides YAML support for Serde.") + (license (list license:expat license:asl2.0)))) + (define-public rust-serde-yaml-0.8 (package + (inherit rust-serde-yaml-0.9) (name "rust-serde-yaml") (version "0.8.26") (source @@ -57046,7 +57075,6 @@ for later processing.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "06y7gxy312mink8nsnmci9cw0ykpgsdcxmayg0snmdbnnwrp92jp")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-indexmap" ,rust-indexmap-1) @@ -57056,11 +57084,7 @@ for later processing.") #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-indoc" ,rust-indoc-1) - ("rust-serde-derive" ,rust-serde-derive-1)))) - (home-page "https://github.com/dtolnay/serde-yaml") - (synopsis "YAML support for Serde") - (description "This package provides YAML support for Serde.") - (license (list license:expat license:asl2.0)))) + ("rust-serde-derive" ,rust-serde-derive-1)))))) (define-public rust-serdect-0.2 (package |