From 039fced724f1767cd6ddf6e4544f1d49c0a649a6 Mon Sep 17 00:00:00 2001 From: Valentin Ignatev Date: Sun, 26 Jan 2020 16:04:19 +0300 Subject: [PATCH 200/275] gnu: Add rust-serde-0.4. * gnu/packages/crates-io.scm (rust-serde-0.4): New variable. --- gnu/packages/crates-io.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4075d14c75..6ba8ef8a8c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -13679,6 +13679,24 @@ proven statistical guarantees.") #:cargo-development-inputs (("rust-serde-derive" ,rust-serde-derive-0.9)))))) +(define-public rust-serde-0.4 + (package + (inherit rust-serde-0.9) + (name "rust-serde") + (version "0.4.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "06s2ayx1p5zzj4q7bfld60c9iprsk1256pnh8qj6h794mjinw11b")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-num" ,rust-num-0.2)))))) + ;; Circular dev dependency on bincode. ;; Probably not going away: https://github.com/rust-lang/cargo/issues/4242 (define-public rust-serde-bytes-0.11 -- 2.25.0