From patchwork Thu Mar 14 21:16:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 61809 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 DDE8227BBEA; Thu, 14 Mar 2024 21:18:17 +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,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 2F73B27BBE9 for ; Thu, 14 Mar 2024 21:18:15 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rksSD-0005hA-MR; Thu, 14 Mar 2024 17:17:33 -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 1rksSC-0005gY-0C for guix-patches@gnu.org; Thu, 14 Mar 2024 17:17:32 -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 1rksSB-0004Mv-Nu for guix-patches@gnu.org; Thu, 14 Mar 2024 17:17:31 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rksSl-00055E-GY for guix-patches@gnu.org; Thu, 14 Mar 2024 17:18:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69803] [PATCH rust-team 04/37] gnu: Add rust-warp-0.3. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 Mar 2024 21:18:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69803 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69803@debbugs.gnu.org Cc: Herman Rimm Received: via spool by 69803-submit@debbugs.gnu.org id=B69803.171045108119422 (code B ref 69803); Thu, 14 Mar 2024 21:18:07 +0000 Received: (at 69803) by debbugs.gnu.org; 14 Mar 2024 21:18:01 +0000 Received: from localhost ([127.0.0.1]:50779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rksSe-00052n-2x for submit@debbugs.gnu.org; Thu, 14 Mar 2024 17:18:01 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:56223 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rksSZ-00051Q-Fg for 69803@debbugs.gnu.org; Thu, 14 Mar 2024 17:17:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1710451023; 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=WBwMJBPYpPcjFq+1n4LDXTPCkr2ibJmktUI2KoZkHv0=; b=elqy33p+h2HVnFVrQ+qYz1IA0loxM+Vo76wfaUBfUeL9RNVtkMBE59klbYu95IGs1uKO82 ahRdWnJcL1x5DLKZhY5rwNy8B0IZo16BY4DLmSVEbx96Vj7OvldK2sqvYalgHNiLZz5WRS Jm6B0JG6GuCW2HF70dlFfByuqBvNK4aRTz58tK8UYY2joYWR29uXZgoKAD0CzeBiA/1M71 eTjRByJqqJg8CTxmQnv5lE4uXL0m4K9f3WL9glflig03gByWixQMm6LSPLzZesnqjpN2d8 6k4Cz1Va5kVkCxrDyxqePIM7Pf9/pgW/qUQJKQnClW1KRvJE3c5W1IzsNF6fUQ== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id ede68e7c (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Thu, 14 Mar 2024 21:17:03 +0000 (UTC) Date: Thu, 14 Mar 2024 22:16:05 +0100 Message-ID: <20240314211638.6190-4-herman@rimm.ee> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240314211638.6190-1-herman@rimm.ee> References: <20240314211638.6190-1-herman@rimm.ee> 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-web.scm (rust-warp-0.3): Add variable. (rust-warp-0.2): Inherit from rust-warp-0.3. Change-Id: I5f3683ac83fd4d607b3095285f263eb889ece61e --- gnu/packages/crates-web.scm | 53 ++++++++++++++++++++++++++++++++----- 1 file changed, 47 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index 60c735efa7..752364ddb7 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -5551,8 +5551,54 @@ (define-public rust-typed-headers-0.1 ("rust-http" ,rust-http-0.1) ("rust-mime" ,rust-mime-0.3)))))) +(define-public rust-warp-0.3 + (package + (name "rust-warp") + (version "0.3.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "warp" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0sfimrpxkyka1mavfhg5wa4x977qs8vyxa510c627w9zw0i2xsf1")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-async-compression" ,rust-async-compression-0.3) + ("rust-bytes" ,rust-bytes-1) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-headers" ,rust-headers-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-log" ,rust-log-0.4) + ("rust-mime" ,rust-mime-0.3) + ("rust-mime-guess" ,rust-mime-guess-2) + ("rust-multer" ,rust-multer-2) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-pin-project" ,rust-pin-project-1) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-1) + ("rust-scoped-tls" ,rust-scoped-tls-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.24) + ("rust-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-tokio-tungstenite" ,rust-tokio-tungstenite-0.20) + ("rust-tokio-util" ,rust-tokio-util-0.7) + ("rust-tower-service" ,rust-tower-service-0.3) + ("rust-tracing" ,rust-tracing-0.1)))) + (home-page "https://github.com/seanmonstar/warp") + (synopsis "Serve the web at warp speeds") + (description "Warp is a composable, web server framework.") + (license license:expat))) + (define-public rust-warp-0.2 (package + (inherit rust-warp-0.3) (name "rust-warp") (version "0.2.5") (source @@ -5562,7 +5608,6 @@ (define-public rust-warp-0.2 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "01wl8kv5hh1dd7gcwdrmn9xfs7jjsh9yc8xa06ph8yf9akgyc6zl")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -5587,11 +5632,7 @@ (define-public rust-warp-0.2 ("rust-tower-service" ,rust-tower-service-0.3) ("rust-tracing" ,rust-tracing-0.1) ("rust-tracing-futures" ,rust-tracing-futures-0.2) - ("rust-urlencoding" ,rust-urlencoding-1)))) - (home-page "https://github.com/seanmonstar/warp") - (synopsis "Composable web server framework") - (description "Warp is a composable, web server framework.") - (license license:expat))) + ("rust-urlencoding" ,rust-urlencoding-1)))))) (define-public rust-web-view-0.7 (package