[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
29/68: gnu: Add rust-config-0.13.
From: |
guix-commits |
Subject: |
29/68: gnu: Add rust-config-0.13. |
Date: |
Wed, 20 Mar 2024 11:24:31 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 8cdcea82db8d2a40e312e2257f7ff8e6eb5d9950
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:08:10 2024 +0100
gnu: Add rust-config-0.13.
* gnu/packages/crates-io.scm (rust-config-0.13): Add variable.
(rust-config-0.11): Inherit from rust-config-0.13.
Change-Id: I485b25be348c9fc1962917d018eb60c196efcf15
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-io.scm | 59 +++++++++++++++++++++++++++++++++++++++-------
1 file changed, 51 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2d606c502e..d3847f341d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14195,8 +14195,58 @@ queue.")
(("rust-easy-parallel" ,rust-easy-parallel-3)
("rust-fastrand" ,rust-fastrand-1))))))
+(define-public rust-config-0.13
+ (package
+ (name "rust-config")
+ (version "0.13.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "config" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1jjag1x3rl77zjykbrykzhd5fsiv8vy40y4lxkj46xicjw8qwwr3"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin (substitute* "Cargo.toml"
+ (("\"= ?([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
+ (string-append "\"^" version)))))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-indexmap" ,rust-indexmap-1)
+ ("rust-json5" ,rust-json5-0.4)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-nom" ,rust-nom-7)
+ ("rust-pathdiff" ,rust-pathdiff-0.2)
+ ("rust-ron" ,rust-ron-0.7)
+ ("rust-rust-ini" ,rust-rust-ini-0.18)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-toml" ,rust-toml-0.5)
+ ("rust-yaml-rust" ,rust-yaml-rust-0.4))
+ #:cargo-development-inputs (("rust-chrono" ,rust-chrono-0.4)
+ ("rust-float-cmp" ,rust-float-cmp-0.9)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-glob" ,rust-glob-0.3)
+ ("rust-notify" ,rust-notify-4)
+ ("rust-reqwest" ,rust-reqwest-0.11)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-temp-env" ,rust-temp-env-0.2)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-warp" ,rust-warp-0.3))))
+ (native-inputs (list pkg-config))
+ (inputs (list openssl))
+ (home-page "https://github.com/mehcode/config-rs")
+ (synopsis "Layered configuration system for Rust applications")
+ (description
+ "This package provides a layered configuration system for Rust
+applications.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-config-0.11
(package
+ (inherit rust-config-0.13)
(name "rust-config")
(version "0.11.0")
(source
@@ -14206,7 +14256,6 @@ queue.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0sdkxv77m65frsn3bx0r3v7asxar3gy3hmghcfk6h4rbijars6qv"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -14217,13 +14266,7 @@ queue.")
("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))))
- (home-page "https://github.com/mehcode/config-rs")
- (synopsis "Layered configuration system for Rust applications")
- (description
- "This package provides a layered configuration system for Rust
-applications.")
- (license (list license:expat license:asl2.0))))
+ ("rust-yaml-rust" ,rust-yaml-rust-0.4))))))
(define-public rust-config-0.10
(package
- 46/68: gnu: rust-surf-2: Update to 2.3.2., (continued)
- 46/68: gnu: rust-surf-2: Update to 2.3.2., guix-commits, 2024/03/20
- 47/68: gnu: rust-trust-dns-proto-0.18: Downgrade to 0.18.0-alpha.2., guix-commits, 2024/03/20
- 41/68: gnu: rust-darling-macro-0.13: Update to 0.13.4., guix-commits, 2024/03/20
- 53/68: gnu: rust-actix-connect-1: Don't skip the build., guix-commits, 2024/03/20
- 50/68: gnu: rust-trust-dns-openssl-0.18: Downgrade to 0.18.0-alpha.2., guix-commits, 2024/03/20
- 51/68: gnu: rust-trust-dns-https-0.18: Downgrade to 0.18.0-alpha.2., guix-commits, 2024/03/20
- 54/68: gnu: Add rust-serde-with-macros-1., guix-commits, 2024/03/20
- 64/68: gnu: Add rust-pkcs7-0.4., guix-commits, 2024/03/20
- 68/68: gnu: Add rust-web-time-1., guix-commits, 2024/03/20
- 66/68: gnu: Add rust-deadpool-sync-0.1., guix-commits, 2024/03/20
- 29/68: gnu: Add rust-config-0.13.,
guix-commits <=
- 59/68: gnu: rust-anstyle-parse-0.2: Update to 0.2.3., guix-commits, 2024/03/20
- 34/68: gnu: rust-ordered-float-3: Update to 3.9.2., guix-commits, 2024/03/20
- 44/68: gnu: rust-http-client-6: Update to 6.5.3., guix-commits, 2024/03/20
- 57/68: gnu: Add rust-tls-codec-0.4., guix-commits, 2024/03/20