From patchwork Sun Feb 18 21:08:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 60617 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4DF1027BBE2; Sun, 18 Feb 2024 21:14:51 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B7CB327BBE9 for ; Sun, 18 Feb 2024 21:14:49 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rboSq-0006zW-Bd; Sun, 18 Feb 2024 16:12:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rboSo-0006wC-Mh for guix-patches@gnu.org; Sun, 18 Feb 2024 16:12:42 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rboSo-0007Od-Ed for guix-patches@gnu.org; Sun, 18 Feb 2024 16:12:42 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rboT9-0003TJ-3S; Sun, 18 Feb 2024 16:13:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69257] [PATCH 120/228] gnu: Add rust-config-0.13. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sun, 18 Feb 2024 21:13:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69257 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69257@debbugs.gnu.org Cc: Herman Rimm , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 69257-submit@debbugs.gnu.org id=B69257.170829072913046 (code B ref 69257); Sun, 18 Feb 2024 21:13:03 +0000 Received: (at 69257) by debbugs.gnu.org; 18 Feb 2024 21:12:09 +0000 Received: from localhost ([127.0.0.1]:39081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rboSG-0003OG-WB for submit@debbugs.gnu.org; Sun, 18 Feb 2024 16:12:09 -0500 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:39423 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rboRZ-0003F5-79 for 69257@debbugs.gnu.org; Sun, 18 Feb 2024 16:11:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1708290657; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Bzsm4HS/9gjv3+PTnmQFUEWb9JSY5gOdQl0sQ8nWnfQ=; b=Cx0GrB+/IcITF7VpN74SqRysqccfEla7WZz/SxAHsJqIvw80uzpMlRjUB9s7kLYsJ95Oa9 ZH+qP7Pf69dBYsWb3SGUMS71N87uH0l2TJc70SBws97XKx/paa1uA5AGfVKaW2F+BpTjMF 0HQQjUADmlYEpSsF0VnB/ngj+dQFLTn0psgu8YooL8iq01wI/PwUwKR7TVwkz/cGCYnnxp ZcbLzo5pwoO2PcsTQD48c17XH3fclMMgeXbVG9W7VfhNmMizEyfOSviJkOhneR4EEyH6oe Oz85/B45TUKq4gBSXUH6MNbTt+rtmbX4gElBshjqv5KEv/IGIOJOYqvVS3gxQw== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 09f7cf9f (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sun, 18 Feb 2024 21:10:57 +0000 (UTC) Date: Sun, 18 Feb 2024 22:08:10 +0100 Message-ID: <246527dae510142024341b844501165e60ede95a.1708288186.git.herman@rimm.ee> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-config-0.13): Add variable. (rust-config-0.11): Inherit from rust-config-0.13. Change-Id: I485b25be348c9fc1962917d018eb60c196efcf15 --- gnu/packages/crates-io.scm | 52 ++++++++++++++++++++++++++++++++------ 1 file changed, 44 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 08e1823a3f..e0dd97e5b2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -13266,8 +13266,51 @@ (define-public rust-concurrent-queue-1 (("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")))) + (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)))) + (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 @@ -13277,7 +13320,6 @@ (define-public rust-config-0.11 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0sdkxv77m65frsn3bx0r3v7asxar3gy3hmghcfk6h4rbijars6qv")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -13288,13 +13330,7 @@ (define-public rust-config-0.11 ("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