gnu: Add rust-config-0.11.

* gnu/packages/crates-io.scm (rust-config-0.11): New variable.
(rust-config-0.10): Inherit from above.
This commit is contained in:
Nicolas Goaziou 2021-12-17 22:36:16 +01:00
parent 26a3b9bb9c
commit 01819ab3a9
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -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")