From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id cJCyGrcRS2bTvgAAe85BDQ:P1 (envelope-from ) for ; Mon, 20 May 2024 11:02:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id cJCyGrcRS2bTvgAAe85BDQ (envelope-from ) for ; Mon, 20 May 2024 11:02:47 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=ONDGufvl; dmarc=pass (policy=none) header.from=gnu.org; 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=1716195767; a=rsa-sha256; cv=none; b=ib+z82hso0LhTBMo/SbAXXI6ZxMg4s0DbvAFSq/BcpZtaBGknyuoZqFYNLWJFxhCGXnAuY iDvZf8Pet0PDzX2F3zaC5FgHJ9tWoDc3I/LERbKV1f66lXxRPL/+YaKmoQwXOmtdr6U8ip dM34d3XlMhm6xD9dEVkLZsXTresf8r29JAAakDwYOeiQPIG35lxkJNrVqpaOwQoOJ8zErw LyMnK4Yz0O98PZ4/2fLGGrSxVabB+Tpr2NCuLrEjP5y2BlTjzWKEvNpCwft41qMnrNZGkM Vi+Zd2HdvQphXhAGvXrq6Zx9mL6PA3YO7wA/HPWgTi56omNEyXL4T8mjRLKUYg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=ONDGufvl; dmarc=pass (policy=none) header.from=gnu.org; 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=1716195767; h=from:from:sender:sender:reply-to: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=XkLtGCV0xxBWhJafKirx69EMBk1akQA7/CJa68ITdsY=; b=UfZalmbmWgUDR1R6490Zy9/XXkS0MJjONiw06/i/nZJtFpcnJXHg/876BTXZcF5Ir0D2sB dXzbSgelsFo+Nvr6HvjL6PxVYJovcnvyCHTbB56dHN42c+ForQibvLfPjfSXZRqTrbGP2O pPjRfjPN5AjCiniwSgcb+RsOJiI82MdA66lzexgcA3zt+r8BVQ0dBX4GQtX3jGBHpKcStZ B1QGvrO55+i0zCdEXWzfRkjoSdzOLrfkEbDmrvobKVUs2SkHBJjOvn3wQSU78FCTdfyfgC XLqwhP/xoxgihKAiBNZ1xTb7jfk7ABopeopfPYIZSdgADeNaUi6uFsc7PLEcjw== 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 33C39163CF for ; Mon, 20 May 2024 11:02:46 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s8yug-00013J-Mb; Mon, 20 May 2024 05:02:37 -0400 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 1s8yta-0000cH-IV for guix-patches@gnu.org; Mon, 20 May 2024 05:01:26 -0400 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 1s8ytT-0006tD-UR for guix-patches@gnu.org; Mon, 20 May 2024 05:01:25 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s8ytY-0007Kj-Dm; Mon, 20 May 2024 05:01:24 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71076] [PATCH 57/81] gnu: Add rust-reqwest-0.12. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Mon, 20 May 2024 09:01:24 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71076 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71076@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 71076-submit@debbugs.gnu.org id=B71076.171619566927756 (code B ref 71076); Mon, 20 May 2024 09:01:24 +0000 Received: (at 71076) by debbugs.gnu.org; 20 May 2024 09:01:09 +0000 Received: from localhost ([127.0.0.1]:41233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8ytI-0007DO-4g for submit@debbugs.gnu.org; Mon, 20 May 2024 05:01:08 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:49415 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8ysc-000754-D7 for 71076@debbugs.gnu.org; Mon, 20 May 2024 05:00:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1716195616; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XkLtGCV0xxBWhJafKirx69EMBk1akQA7/CJa68ITdsY=; b=ONDGufvl5MsVLx42uvZuKCkPpeEfw1ypw1ygYOw2ZvaCS6S0lfILihOhC1JcYR5K/AgH1j InukW+PKrGkVvXh49OreHyPE8P/pevd8o7TCnNiNhAZLCl/avQ12fB+9IZzQu71TwtQMlY sF++ly6qqhl1cUBUjo/zk0qInE33Vnk7+9zUc5Ttm44KBiDlYEptLseBTsmnr6gpILDq5+ lVrbdO4SFHkDzGfKGUef4JUlWPoYEf376D5UrOaaUuacvuGgQSEv8mk4vy2Rr3qlHwjGrS RDyTOGFZ/+tzxDYpL0Hm1fZY8ojx+FmBAvhjEULQ/7+OWpQ1imSo/ZvxqBHwJg== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id c0620f91 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <71076@debbugs.gnu.org>; Mon, 20 May 2024 09:00:16 +0000 (UTC) Date: Mon, 20 May 2024 10:59:02 +0200 Message-ID: <55c6c3461edd1acc488590e63c22cfba6f710efc.1716193123.git.herman@rimm.ee> 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: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches From: Herman Rimm via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 33C39163CF X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -4.86 X-Spam-Score: -4.86 X-TUID: zvdqFoTRFl/L * gnu/packages/crates-web.scm (rust-reqwest-0.12): Add variable. (rust-reqwest-0.11): Inherit from rust-reqwest-0.12. Change-Id: Ib43e1c0f0cb51d956289c50e968119a5a343abea --- gnu/packages/crates-web.scm | 108 ++++++++++++++++++++++++++++++++---- 1 file changed, 98 insertions(+), 10 deletions(-) diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index 88d73d8b73..771aae94b5 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -4812,8 +4812,105 @@ (define-public rust-poem-derive-1 (description "This package provides macros for poem.") (license (list license:expat license:asl2.0)))) +(define-public rust-reqwest-0.12 + (package + (name "rust-reqwest") + (version "0.12.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "reqwest" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "047aa0qnngnlnf9i0abrs6pgmz15vk81p5pvscwhk3l6jbfsyv2n")) + (modules '((guix build utils))) + (snippet '(begin + (substitute* "Cargo.toml.orig" + (("hyper-rustls = \\{ version = \"0.26.0\"") + "hyper-rustls = { version = \"0.27.1\"")) + (copy-file "Cargo.toml.orig" "Cargo.toml"))))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-test-flags `(list "release" "--" + ;; Tests require network access. + "--skip=test_badssl_modern" + "--skip=test_badssl_self_signed") + #:cargo-inputs (list rust-async-compression-0.4 + rust-base64-0.22 + rust-bytes-1 + rust-cookie-0.17 + rust-cookie-store-0.20 + rust-encoding-rs-0.8 + rust-futures-channel-0.3 + rust-futures-core-0.3 + rust-futures-util-0.3 + rust-h2-0.4 + rust-h3-0.0.4 + rust-h3-quinn-0.0.5 + rust-hickory-resolver-0.24 + rust-http-1 + rust-http-body-1 + rust-http-body-util-0.1 + rust-hyper-1 + rust-hyper-rustls-0.27 ; actually 0.26 + rust-hyper-tls-0.6 + rust-hyper-util-0.1 + rust-ipnet-2 + rust-js-sys-0.3 + rust-log-0.4 + rust-mime-0.3 + rust-mime-guess-2 + rust-native-tls-0.2 + rust-once-cell-1 + rust-percent-encoding-2 + rust-pin-project-lite-0.2 + rust-quinn-0.10 + rust-rustls-0.22 + rust-rustls-native-certs-0.7 + rust-rustls-pemfile-2 + rust-rustls-pki-types-1 + rust-serde-1 + rust-serde-json-1 + rust-serde-urlencoded-0.7 + rust-sync-wrapper-0.1 + rust-system-configuration-0.5 + rust-tokio-1 + rust-tokio-native-tls-0.3 + rust-tokio-rustls-0.25 + rust-tokio-socks-0.5 + rust-tokio-util-0.7 + rust-tower-service-0.3 + rust-url-2 + rust-wasm-bindgen-0.2 + rust-wasm-bindgen-futures-0.4 + rust-wasm-streams-0.4 + rust-web-sys-0.3 + rust-webpki-roots-0.26 + rust-winreg-0.52) + #:cargo-development-inputs (list rust-brotli-3 + rust-doc-comment-0.3 + rust-env-logger-0.10 + rust-futures-util-0.3 + rust-hyper-1 + rust-hyper-util-0.1 + rust-libflate-1 + rust-serde-1 + rust-tokio-1 + rust-wasm-bindgen-0.2 + rust-wasm-bindgen-test-0.3 + rust-zstd-0.13))) + (inputs (list openssl (list zstd "lib"))) + (native-inputs (list pkg-config)) + (home-page "https://github.com/seanmonstar/reqwest") + (synopsis "Higher level HTTP client library") + (description + "This package provides a higher level HTTP client library.") + (license (list license:expat license:asl2.0)))) + (define-public rust-reqwest-0.11 (package + (inherit rust-reqwest-0.12) (name "rust-reqwest") (version "0.11.23") (source @@ -4823,7 +4920,6 @@ (define-public rust-reqwest-0.11 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0hgvzb7r46656r9vqhl5qk1kbr2xzjb91yr2cb321160ka6sxc9p")))) - (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--" @@ -4892,15 +4988,7 @@ (define-public rust-reqwest-0.11 ("rust-serde" ,rust-serde-1) ("rust-tokio" ,rust-tokio-1) ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) - ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) - (inputs - (list openssl)) - (native-inputs - (list pkg-config)) - (home-page "https://github.com/seanmonstar/reqwest") - (synopsis "High level HTTP client library") - (description "This package provides a high level HTTP client library.") - (license (list license:expat license:asl2.0)))) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))))) (define-public rust-reqwest-0.10 (package -- 2.41.0