From c5e75a284e4149b9ec0f67cbcfa58e742a753fb9 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 15 Dec 2019 08:04:32 -0800 Subject: [PATCH 160/263] gnu: Add rust-serde-yaml-0.8. * gnu/packages/crates-io.scm (rust-serde-yaml-0.8): New variable. --- gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f091ad1a51..97560e9512 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7043,6 +7043,37 @@ synchronization primitives.") "Token De/Serializer for testing De/Serialize implementations.") (license `(,license:expat ,license:asl2.0)))) +(define-public rust-serde-yaml-0.8 + (package + (name "rust-serde-yaml") + (version "0.8.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde_yaml" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "10mmjpnshgrwij01a13679nxy1hnh5yfr0343kh0y9p5j2d8mc1q")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-dtoa" ,rust-dtoa-0.4) + ("rust-linked-hash-map" ,rust-linked-hash-map-0.5) + ("rust-serde" ,rust-serde-1.0) + ("rust-yaml-rust" ,rust-yaml-rust-0.4)) + #:cargo-development-inputs + (("rust-serde-derive" ,rust-serde-derive-1.0) + ("rust-unindent" ,rust-unindent-0.1) + ("rust-version-sync" ,rust-version-sync-0.8)))) + (home-page + "https://github.com/dtolnay/serde-yaml") + (synopsis "YAML support for Serde") + (description "YAML support for Serde.") + (license `(,license:asl2.0 ,license:expat)))) + (define-public rust-sha-1-0.8 (package (name "rust-sha-1") -- 2.24.1