From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id QBiHAmRNuWVTLAAAe85BDQ:P1 (envelope-from ) for ; Tue, 30 Jan 2024 20:26:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id QBiHAmRNuWVTLAAAe85BDQ (envelope-from ) for ; Tue, 30 Jan 2024 20:26:28 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=V7eiQxI4; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706642788; a=rsa-sha256; cv=none; b=N9FRNuU3tTCrkZnUJFHBLh3rf6BKWKzuym7BQSWHc/2i619U5RMohofHc6BFM/qbIoSIWa NMZMZYIFO1w6uiloU7b6kcittxsHEAEc0X9hGJIjfS2J54ngjkrYm7rKYWAzrP2yJzVlV6 NXjFINzv0tLMq4+Tbqvh6zJ8PUSvX1XBgMtyhjc4RTIYc6SFE8pfDGpU6IPIWTRLK7X08f cjr2FXEcEpLVEv9kdOxq7VcPifZaIPVxR8EYZuoJ1dckFuDxZ2Ceg5SLmu/MbLwrcsJthr 5jiyCOadV2SS2OAsT4Slp+H3f4nBedSFpRfIeBJpLHTgr4cgJrBcvITGqmGrhQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=V7eiQxI4; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706642788; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=JJ/W5qYQeYeQrgRTSBdwKGox7gsjXgQaEaj2ku9E3BY=; b=SaE0jXapQ2VDPYYc7Wm2TRhVefrodvJN1vCMTrLLofn7JIcLocWxMD543hArzejeecv47s 8so3by17xRwdSIxz5mo1xxIWUKIh2Ssi7JWLJ7LYmsQA/n2FMcxJio5/MZeC5s9W+6Bsti QYDcODyo/+eI9mn/16P9kav3lHVM82nCivHHUn31qR2LpwItwPmBttCo4unrzC7CxktvA6 0Jp6raoeKqvanU6TPC3UiSpbfoT9XMUTVYA9Lo+/HWNzGbfsWG4Q/8moy8EJAOwW0RkAzM 0+mB/qTqNBckLQ3hubWsSrD6QGqYv9eNChGTY84hTSzoW+9U94CngG3GFGwnmA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 972299ACB for ; Tue, 30 Jan 2024 20:26:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rUtk9-00052U-QS; Tue, 30 Jan 2024 14:26:01 -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 1rUtk2-0004zp-HZ for guix-patches@gnu.org; Tue, 30 Jan 2024 14:25:54 -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 1rUtk2-0004xN-91 for guix-patches@gnu.org; Tue, 30 Jan 2024 14:25:54 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rUtkB-00031e-8k; Tue, 30 Jan 2024 14:26:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68481] [PATCH v2 04/13] gnu: Add rust-rcgen-0.12. Resent-From: =?UTF-8?Q?V=C3=96R=C3=96SK=C5=90I_?= =?UTF-8?Q?Andr=C3=A1s?= Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Tue, 30 Jan 2024 19:26:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68481 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 68481@debbugs.gnu.org Cc: =?UTF-8?Q?V=C3=96R=C3=96SK=C5=90I_?= =?UTF-8?Q?Andr=C3=A1s?= , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 68481-submit@debbugs.gnu.org id=B68481.170664275211552 (code B ref 68481); Tue, 30 Jan 2024 19:26:03 +0000 Received: (at 68481) by debbugs.gnu.org; 30 Jan 2024 19:25:52 +0000 Received: from localhost ([127.0.0.1]:36815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rUtk0-00030D-03 for submit@debbugs.gnu.org; Tue, 30 Jan 2024 14:25:52 -0500 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]:46298) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rUtjo-0002yU-Tb for 68481@debbugs.gnu.org; Tue, 30 Jan 2024 14:25:41 -0500 Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-55f03ede12cso3155931a12.0 for <68481@debbugs.gnu.org>; Tue, 30 Jan 2024 11:25:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706642726; x=1707247526; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=JJ/W5qYQeYeQrgRTSBdwKGox7gsjXgQaEaj2ku9E3BY=; b=V7eiQxI4D+9anJZH85rhdzkZs+TB83vZUNLMbycI7Enx49sDmufRqSWI7lcfpm9ehg NiKvb8Kqi0SMT1mnvRI7lpz73rpiYkJDHsUPPpnbt1efRzraWWYgWTOzKemgvTSzBJfI eEge0s1S6eabtcIzzhrnZ/DTJWd6GyhNOtYNowlsYichFjE9H9x+CrYBIFxB/mXqT/64 zThGiFCuN/ALGO2QKRC5Wg7odVZusLVFTiFHYUgsReguIbyQZStENHEyRL0GjdBvm4ES RjwvOGR8KW3KKM9a2gPAsv2pS3foJHtuunqnnHPFnVJXF9u/y1b6sOPI7eE81TUZ1yZW rpeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706642726; x=1707247526; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JJ/W5qYQeYeQrgRTSBdwKGox7gsjXgQaEaj2ku9E3BY=; b=iwARD1Otx+ludfYrxtxEOkC8fd/GRNDutszL8CDmmQchB7ttHDBho0fs3oVRhrx4X+ dXh6C6SrEK0nwV0IYKeDxI//FbNf7ITSMNk7nnwzjMbMv4O2REv7azoySWbOQI1yBi0S lHgrHz1TyxsTogANKoSOBfH3nZtZVKVHSTxDa2uxdos5/K1FRINrcBbS8rGu0saCAEBl 9laz7DdQ1JU38sPzjDacPExe8mJsS3gM8QXR0aHfB93y3maMFqBJL9FSeidP+cTMLyzb L/3I66JgHUe+IWVesfcUQT5sT25lFyHg5SrPMSMY9gZfNKlUAqF2kbncnkLPQOalyyLb 9TFw== X-Gm-Message-State: AOJu0YyxC7hqoNrJhM2g+Yhol+qUKVLoHrXXH1GW9mLfrhoA2d5GKCsf rvmtR9zgDpI7t+ZWxbVNc8gCPReB/wshPCT7szB5PiBl1QlSav8Ook3gJLDd X-Google-Smtp-Source: AGHT+IG2vmojxEMwHwX2C/1zoMHZFgOGC541dQkwGsYFGH4PyGlqh6nX1hXX9zPgo1qRGQN8/xEYkA== X-Received: by 2002:a05:6402:519:b0:55e:f024:a327 with SMTP id m25-20020a056402051900b0055ef024a327mr4534541edv.31.1706642726022; Tue, 30 Jan 2024 11:25:26 -0800 (PST) Received: from localhost (176-241-13-110.pool.digikabel.hu. [176.241.13.110]) by smtp.gmail.com with ESMTPSA id i7-20020a05640200c700b0055f4d7ceafasm635667edu.19.2024.01.30.11.25.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 11:25:25 -0800 (PST) From: =?UTF-8?Q?V=C3=96R=C3=96SK=C5=90I_?= =?UTF-8?Q?Andr=C3=A1s?= Date: Tue, 30 Jan 2024 20:25:07 +0100 Message-ID: <737b7427fd10fd298166c13dc646348923da72b3.1706642716.git.voroskoi@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Spam-Score: -4.07 X-Migadu-Queue-Id: 972299ACB X-Migadu-Spam-Score: -4.07 X-TUID: msE3GxCnfYyx * gnu/packages/crates-io.scm (rust-rcgen-0.12): New variable. Change-Id: I3e37ab618be638896c622ce32e6ad13bb492af40 --- gnu/packages/crates-io.scm | 152 +++++++++++++++++++++++++++++++++++++ 1 file changed, 152 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 05ed98b686..6de12710a9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -51789,6 +51789,158 @@ (define-public rust-rayon-core-1 (description "This package provides core APIs for Rayon.") (license (list license:asl2.0 license:expat)))) +(define-public rust-rcgen-0.12 + (package + (name "rust-rcgen") + (version "0.12.0") + (source (origin + (method url-fetch) + (uri (crate-uri "rcgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0pfvmm1s8x12hiw810jv9ng1gnqnplh30xi6nw6mdix4qn08r4ax")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Don't use a vendored botan. + (substitute* "Cargo.toml" + ((".*vendored.*") "")))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-pem" ,rust-pem-3) + ("rust-ring" ,rust-ring-0.16) + ("rust-time" ,rust-time-0.3) + ("rust-x509-parser" ,rust-x509-parser-0.15) + ("rust-yasna" ,rust-yasna-0.5) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-botan" ,rust-botan-0.10) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rand" ,rust-rand-0.8) + ("rust-rsa" ,rust-rsa-0.9) + ("rust-rustls-webpki" ,rust-rustls-webpki-0.101) + ("rust-x509-parser" ,rust-x509-parser-0.15)))) + (native-inputs + (list pkg-config)) + (inputs + (list botan openssl)) + (home-page "https://github.com/rustls/rcgen") + (synopsis "Rust X.509 certificate generator") + (description "Rust X.509 certificate generator.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-rcgen-0.11 + (package + (name "rust-rcgen") + (version "0.11.3") + (source (origin + (method url-fetch) + (uri (crate-uri "rcgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1iivv3xycr9mjfmp522xjqj47nsl5amlzzsfpbxpvg53984g7i2j")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Don't use a vendored botan. + (substitute* "Cargo.toml" + ((".*vendored.*") "")))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-pem" ,rust-pem-3) + ("rust-ring" ,rust-ring-0.16) + ("rust-time" ,rust-time-0.3) + ("rust-x509-parser" ,rust-x509-parser-0.15) + ("rust-yasna" ,rust-yasna-0.5) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-botan" ,rust-botan-0.10) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rand" ,rust-rand-0.8) + ("rust-rsa" ,rust-rsa-0.9) + ("rust-rustls-webpki" ,rust-rustls-webpki-0.101) + ("rust-x509-parser" ,rust-x509-parser-0.15)))) + (native-inputs + (list pkg-config)) + (inputs + (list botan openssl)) + (home-page "https://github.com/rustls/rcgen") + (synopsis "Rust X.509 certificate generator") + (description "Rust X.509 certificate generator.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-rcgen-0.10 + (package + (inherit rust-rcgen-0.11) + (name "rust-rcgen") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rcgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0nvqgr697xzdzaavkcwcl59kxw7xfx9zdhdzx49fm3gkwbpq9gpz")) + (snippet + #~(begin (use-modules (guix build utils)) + ;; Don't use a vendored botan. + (substitute* "Cargo.toml" + ((".*vendored.*") "")))))) + (arguments + `(#:cargo-inputs (("rust-pem" ,rust-pem-1) + ("rust-ring" ,rust-ring-0.16) + ("rust-time" ,rust-time-0.3) + ("rust-x509-parser" ,rust-x509-parser-0.14) + ("rust-yasna" ,rust-yasna-0.5) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-botan" ,rust-botan-0.8) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rand" ,rust-rand-0.8) + ("rust-rsa" ,rust-rsa-0.6) + ("rust-webpki" ,rust-webpki-0.22) + ("rust-x509-parser" ,rust-x509-parser-0.14)))))) + +(define-public rust-rcgen-0.8 + (package + (inherit rust-rcgen-0.11) + (name "rust-rcgen") + (version "0.8.14") + (source (origin + (method url-fetch) + (uri (crate-uri "rcgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19qvlcz8kl046q85xa40p3xg7l78jganj83hdbawjhs17x0d24ar")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Don't use a vendored botan. + (substitute* "Cargo.toml" + ((".*vendored.*") "")))))) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=tests::test_dt_to_generalized" + "--skip=tests::test_dt_utc_strip_nanos") + #:cargo-inputs + (("rust-chrono" ,rust-chrono-0.4) + ("rust-pem" ,rust-pem-1) + ("rust-ring" ,rust-ring-0.16) + ("rust-x509-parser" ,rust-x509-parser-0.12) + ("rust-yasna" ,rust-yasna-0.4) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-botan" ,rust-botan-0.8) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rand" ,rust-rand-0.8) + ("rust-rsa" ,rust-rsa-0.5) + ("rust-webpki" ,rust-webpki-0.22) + ("rust-x509-parser" ,rust-x509-parser-0.12)))))) + (define-public rust-rctree-0.5 (package (name "rust-rctree") -- 2.41.0