From patchwork Wed Feb 5 18:31:42 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 38256 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 A53FA27BBEA; Wed, 5 Feb 2025 18:34:50 +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=-7.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 225C327BBE2 for ; Wed, 5 Feb 2025 18:34:50 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tfkE2-0006qZ-Ft; Wed, 05 Feb 2025 13:34:14 -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 1tfkDz-0006oR-PI for guix-patches@gnu.org; Wed, 05 Feb 2025 13:34:11 -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 1tfkDz-0002YW-FE for guix-patches@gnu.org; Wed, 05 Feb 2025 13:34:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=aWd2qc10ZuqIs8rkrJ50Nuf+fJncnleSeflWXom7E58=; b=ifm/WBVL5Ibpd2fG+QliDH+icECmhARJbEGIkiohI3MDU63xWZIy0b8dCDPwexehO3VvLBWOuC8Dz6Rw2KdyOXEF/xHmeJSPL4PnLRqdKcTMwhhaDRT9lNA/ipw+XmynkH6WWIOk2k9ybUB2YhewXVPyNFk5lABji8fwcia6xxSfEuDaOMafEVtcGar6ObA+BVMh4Wa+JzPPm9tRih0mkHvMokwYGWxj95qrXeQUjC++fJ/06sPgeA46S7RvyL3KWqkkXKQFMRGiq0PJIzHw4HAMCB2Kt9/Jj9TWO0vyYiHHDiHR13ptIQF/47GmsCZKe3MSdjc7hX36IMe1rhmrmQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tfkDz-0004Yl-Af for guix-patches@gnu.org; Wed, 05 Feb 2025 13:34:11 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75127] [PATCH v8 27/44] gnu: Add rust-config-0.14. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 05 Feb 2025 18:34:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75127 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75127@debbugs.gnu.org Cc: Jordan Moore Received: via spool by 75127-submit@debbugs.gnu.org id=B75127.173878042317251 (code B ref 75127); Wed, 05 Feb 2025 18:34:11 +0000 Received: (at 75127) by debbugs.gnu.org; 5 Feb 2025 18:33:43 +0000 Received: from localhost ([127.0.0.1]:52455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tfkDW-0004UB-Ed for submit@debbugs.gnu.org; Wed, 05 Feb 2025 13:33:43 -0500 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:53441 helo=email.rimm.ee) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tfkD0-0004O2-Nl for 75127@debbugs.gnu.org; Wed, 05 Feb 2025 13:33:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1738780375; 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=aWd2qc10ZuqIs8rkrJ50Nuf+fJncnleSeflWXom7E58=; b=frdlhZSS+LtnrZqz1pu5i86+gj1drdeGWNyw+n3XcmRy/LBLjPnGY0ES170rbzvictI2GY 95dlCqly7LWKaVBVcw0/CNtoE5f/ixgha73l3/p0eWQIY5zxNwsFI3xSVneCPDXN3nbSna d3nG1t9w2AcQ7OXf6hHwm3ALt9F1Q/6SgucAVfwj/98XRDo7ejvGTLvxDkxZsbB8cT0c6S pl/ZoeVkHTVNsETqs+jz+sFMf9IiLYjw9nTpSmu45wmAHs2BK0Ff9oZus3uhh+zvX/P+Ar yn3eUW6YMyB1aZrAJpHRG2ZFij3Oc8Vx7p91ePXVecaTxFC5ywoP7MXXovJf7A== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 99a59816 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Wed, 5 Feb 2025 18:32:55 +0000 (UTC) Date: Wed, 5 Feb 2025 19:31:42 +0100 Message-ID: X-Mailer: git-send-email 2.47.1 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 From: Jordan Moore * gnu/packages/crates-io.scm (rust-config-0.14): New variable. (rust-config-0.13): Inherit rust-config-0.14. Change-Id: Ibfe876b980689eb6ac4affb3385b013e2424e3d1 --- gnu/packages/crates-io.scm | 57 +++++++++++++++++++++++++++++++++----- 1 file changed, 50 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 600d7c0c2b2..ae4a7539a93 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -14920,8 +14920,57 @@ (define-public rust-condtype-1 (description "Choose types at compile-time via boolean constants.") (license (list license:expat license:asl2.0)))) +(define-public rust-config-0.14 + (package + (name "rust-config") + (version "0.14.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "config" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1pyzr665pq6xcq3f6j1670v5xxk465n2bbkzn9hzycradlcqymv8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + ;; test files are not packaged + "--skip=value::tests::test_i64") + #:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-convert-case" ,rust-convert-case-0.6) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-json5" ,rust-json5-0.4) + ("rust-nom" ,rust-nom-7) + ("rust-pathdiff" ,rust-pathdiff-0.2) + ("rust-ron" ,rust-ron-0.8) + ("rust-rust-ini" ,rust-rust-ini-0.20) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-toml" ,rust-toml-0.8) + ("rust-yaml-rust2" ,rust-yaml-rust2-0.8)) + #: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-6) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-temp-env" ,rust-temp-env-0.3) + ("rust-tokio" ,rust-tokio-1) + ("rust-warp" ,rust-warp-0.3)))) + (home-page "https://github.com/rust-cli/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)) + (native-inputs (list pkg-config)) + (inputs (list openssl)))) + (define-public rust-config-0.13 (package + (inherit rust-config-0.14) (name "rust-config") (version "0.13.4") (source @@ -14961,13 +15010,7 @@ (define-public rust-config-0.13 ("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)))) + (inputs (list openssl)))) (define-public rust-config-0.11 (package