From patchwork Mon Jan 15 19:28:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?VsOWUsOWU0vFkEkgQW5kcsOhcw==?= X-Patchwork-Id: 58911 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 9BEDB27BBE2; Mon, 15 Jan 2024 19:31:56 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS 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 5871A27BBE9 for ; Mon, 15 Jan 2024 19:31:54 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPSfc-0005B7-M8; Mon, 15 Jan 2024 14:30:52 -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 1rPSf6-0004zH-AG for guix-patches@gnu.org; Mon, 15 Jan 2024 14:30:23 -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 1rPSf6-0000gD-0Y for guix-patches@gnu.org; Mon, 15 Jan 2024 14:30:20 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rPSf5-0006tm-TS; Mon, 15 Jan 2024 14:30:19 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68481] [PATCH 25/32] gnu: Add rust-rustls-0.22. Resent-From: =?utf-8?b?VsOWUsOWU0vFkEkgQW5kcsOhcw==?= Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Mon, 15 Jan 2024 19:30:19 +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?b?VsOWUsOWU0vFkEkgQW5kcsOhcw==?= , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 68481-submit@debbugs.gnu.org id=B68481.170534698724808 (code B ref 68481); Mon, 15 Jan 2024 19:30:19 +0000 Received: (at 68481) by debbugs.gnu.org; 15 Jan 2024 19:29:47 +0000 Received: from localhost ([127.0.0.1]:46949 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPSeY-0006Rs-O2 for submit@debbugs.gnu.org; Mon, 15 Jan 2024 14:29:47 -0500 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]:46132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPSeV-0006Pb-Vi for 68481@debbugs.gnu.org; Mon, 15 Jan 2024 14:29:44 -0500 Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-a29058bb2ceso972041266b.0 for <68481@debbugs.gnu.org>; Mon, 15 Jan 2024 11:29:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705346978; x=1705951778; 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=BWJqB3GdufwWac6/Ds6GAZ5lQhcLQzoF0640nXi9JfY=; b=lF76+t9vZuGHl39J4MWUzDALjGkj5tKWfYX72yPbQvbSTjfAZu8WwCkWijjTLkAzO+ RIU/h94snkBDGMTIJv7TBM7rAbdoyrqG7jrrfFJQlXXjAH+BS0AiB1jWz89NSqSZN0Jv HLNsfjkgP/FiUz4eU73BO6LMjCEY2OrwJNTYCUtGN8jJnixmIwBi37sS3vKMSKG/zYFs 4n3O1ed6emkX7vKbJqWhnCcs4gEIF22VA0sQEPlj7CvbfQHWLazL5iMS7a4pCMoiR9Bo q6961O8OmRVxtnlRmyAatBe/XZDBn6Luh9ZSOHSNWkS+2QM5xRTt5or58plS3JRa3DVF wpDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705346978; x=1705951778; 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=BWJqB3GdufwWac6/Ds6GAZ5lQhcLQzoF0640nXi9JfY=; b=TOQas9YatheWyDQFmLEuWRmo36pNA3hCJaG26YgATeHLZpS7z1o2UEPy8kFrUv+l+d 6joe8vjYv5Qb+2jbNRlh7RCMNj2fzQJBMuT5yunMEXJ5ZwbF1eSRiclUlAQzplYdelVw HIHFiqGVGQA3L4cJzstgVJgrTe+2LNfPSo4e6zaQNvXVnmcu6nk8VWN9rZVgg0Gw4NaD CwBGI6uxWBPwTrc0xo0sXMizITvG+sS5c0cEdYIVqGh2b3sqTiellg2ofive5FWQJbl9 LDb6wd5fqmWwYwvvjIHGXExbTbgWRoZ6+01xkXrBAkeDAOqvMrPj9myM9Sus82d2EOlK iSfQ== X-Gm-Message-State: AOJu0Yx1QUFMjSB4Osvpud7PlS6lOsIhzYstgCJhqcyJXdyzRuh+EHfF BZzHqiPRq9XdKCpvyrPw0dET6RK+RFw= X-Google-Smtp-Source: AGHT+IErLZZ17CU16a6NPFp0HNyEBrA3DXa8qvOkM1oDpnWz8G64K70+k0PqGG+y/IXZ2HbQjwQV2A== X-Received: by 2002:a17:907:3e0d:b0:a27:6e73:a248 with SMTP id hp13-20020a1709073e0d00b00a276e73a248mr2461977ejc.68.1705346978234; Mon, 15 Jan 2024 11:29:38 -0800 (PST) Received: from localhost (176-241-5-41.pool.digikabel.hu. [176.241.5.41]) by smtp.gmail.com with ESMTPSA id s19-20020a1709066c9300b00a2a13835f4csm5572020ejr.167.2024.01.15.11.29.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 11:29:37 -0800 (PST) From: =?utf-8?b?VsOWUsOWU0vFkEkgQW5kcsOhcw==?= Date: Mon, 15 Jan 2024 20:28:52 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <476737fcf81e7d9f7cea1d4f9a0fe62e5b6b41e5.1705346937.git.voroskoi@gmail.com> References: <476737fcf81e7d9f7cea1d4f9a0fe62e5b6b41e5.1705346937.git.voroskoi@gmail.com> 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: , 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-tls.scm (rust-rustls-0.22): New variable. Change-Id: Idbf98162adc353d1247f6d66a7c0cca2d09225df --- gnu/packages/crates-tls.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/crates-tls.scm b/gnu/packages/crates-tls.scm index ec4d6342cd..851d24e8ed 100644 --- a/gnu/packages/crates-tls.scm +++ b/gnu/packages/crates-tls.scm @@ -131,6 +131,39 @@ (define-public rust-native-tls-0.2 implementation.") (license (list license:expat license:asl2.0)))) +(define-public rust-rustls-0.22 + (package + (name "rust-rustls") + (version "0.22.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hcxyhq6ynvws9v5b2h81s1nwmijmya7a3vyyyhsy1wqpmb9jz78")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-aws-lc-rs" ,rust-aws-lc-rs-1) + ("rust-log" ,rust-log-0.4) + ("rust-ring" ,rust-ring-0.17) + ("rust-rustls-pki-types" ,rust-rustls-pki-types-1) + ("rust-rustls-webpki" ,rust-rustls-webpki-0.102) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-subtle" ,rust-subtle-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-base64" ,rust-base64-0.21) + ("rust-bencher" ,rust-bencher-0.1) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-log" ,rust-log-0.4) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-2) + ("rust-webpki-roots" ,rust-webpki-roots-0.26)))) + (home-page "https://github.com/rustls/rustls") + (synopsis "Modern TLS library written in Rust") + (description + "This package provides a modern TLS library written in Rust.") + (license (list license:asl2.0 license:isc license:expat)))) + (define-public rust-rustls-0.21 (package (name "rust-rustls")