From 0aee1c644e91c3f6e0e4b96893bdd8885ee682a1 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Fri, 17 Dec 2021 22:36:16 +0100 Subject: [PATCH] gnu: Add rust-config-0.11. * gnu/packages/crates-io.scm (rust-config-0.11): New variable. (rust-config-0.10): Inherit from above. --- gnu/packages/crates-io.scm | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9e5a42aa29..8e17e7f88a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10489,17 +10489,17 @@ (define-public rust-concurrent-queue-1 queue.") (license (list license:asl2.0 license:expat)))) -(define-public rust-config-0.10 +(define-public rust-config-0.11 (package (name "rust-config") - (version "0.10.1") + (version "0.11.0") (source (origin (method url-fetch) (uri (crate-uri "config" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1qrcp7nm24xzp418xnqf0i26qahw93w31nk5vs6m7ng18ghpdc0r")))) + (base32 "0sdkxv77m65frsn3bx0r3v7asxar3gy3hmghcfk6h4rbijars6qv")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t @@ -10519,6 +10519,30 @@ (define-public rust-config-0.10 applications.") (license (list license:expat license:asl2.0)))) +(define-public rust-config-0.10 + (package + (inherit rust-config-0.11) + (name "rust-config") + (version "0.10.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "config" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qrcp7nm24xzp418xnqf0i26qahw93w31nk5vs6m7ng18ghpdc0r")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-nom" ,rust-nom-5) + ("rust-rust-ini" ,rust-rust-ini-0.13) + ("rust-serde" ,rust-serde-1) + ("rust-serde-hjson" ,rust-serde-hjson-0.9) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-toml" ,rust-toml-0.5) + ("rust-yaml-rust" ,rust-yaml-rust-0.4)))))) + (define-public rust-configparser-2 (package (name "rust-configparser")