From patchwork Tue Mar 19 03:51:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: normally_js X-Patchwork-Id: 61948 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 1AD0F27BBEA; Tue, 19 Mar 2024 03:55:01 +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 A25CC27BBE2 for ; Tue, 19 Mar 2024 03:54:59 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmQYa-00008d-CM; Mon, 18 Mar 2024 23:54:32 -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 1rmQYX-00006G-BE for guix-patches@gnu.org; Mon, 18 Mar 2024 23:54:29 -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 1rmQYX-0008Ra-3H for guix-patches@gnu.org; Mon, 18 Mar 2024 23:54:29 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rmQZ9-00067r-HK; Mon, 18 Mar 2024 23:55:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69890] [PATCH 35/43] gnu: Add rust-rocket-http-0.5. Resent-From: normalmente Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Tue, 19 Mar 2024 03:55:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69890 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69890@debbugs.gnu.org Cc: normalmente , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 69890-submit@debbugs.gnu.org id=B69890.171082046423244 (code B ref 69890); Tue, 19 Mar 2024 03:55:07 +0000 Received: (at 69890) by debbugs.gnu.org; 19 Mar 2024 03:54:24 +0000 Received: from localhost ([127.0.0.1]:35059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmQYR-00062b-4S for submit@debbugs.gnu.org; Mon, 18 Mar 2024 23:54:23 -0400 Received: from mout01.posteo.de ([185.67.36.65]:41875) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmQYA-0005yE-JV for 69890@debbugs.gnu.org; Mon, 18 Mar 2024 23:54:07 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 778EF240027 for <69890@debbugs.gnu.org>; Tue, 19 Mar 2024 04:53:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710820402; bh=NCzbpA55vhOV7xmV/vCUUieevUKw6AKZ3Q9XjhO2ugA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=eQF3zQpwS3M/S9vqalOAYunI0gIQIlVaNPpiTFd0pSpWiLCwwnOXV/1kztWhX42TC YryISvrTFIopquVM5Peb/jctVbpdPD9RM/o1di9/nXTf24yGU7Bpk7zyOGtugTx/Od ufSJIzogfV01TWjKlR7PY/P6kIaZwtV4kPk1AbzNUi/lEhTTQX7nTx1RtC4nduwZx9 FBX7Vn9JSUiNrDAXTOEvpNu5it1dIqJfvBF+85Y0Vcz63FbuNNGjW7257Q3G8dh6nT 4niP2mQbE/CdtdPuSeJh8982rAUELqER0CC09pz5D6/91jr6N+X8mfqSe1IbMzdw71 Rn8F3ASj0My2Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TzHrK62TGz6tm4; Tue, 19 Mar 2024 04:53:21 +0100 (CET) From: normalmente Date: Tue, 19 Mar 2024 03:51:06 +0000 Message-ID: <71892f91b20067da2b76d8ddd78ea3ebd3546a2f.1710817681.git.normally_js@posteo.net> 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: , 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-rocket-http-0.5): New variable. Change-Id: I56154ddf506c3ecc57dfbb72b032b6de043aeb30 --- gnu/packages/crates-web.scm | 55 +++++++++++++++++++++++++++++++------ 1 file changed, 47 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index 00839914a7..c95c228d23 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -3749,8 +3749,54 @@ (define-public rust-rocket-codegen-0.4 "This package provides procedural macros for the Rocket web framework.") (license (list license:expat license:asl2.0)))) +(define-public rust-rocket-http-0.5 + (package + (name "rust-rocket-http") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rocket_http" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17iq208zf9rfxdnx8hfjxnn51074cc9li99yjigzwnfhjhv6d89p")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f + #:cargo-inputs (("rust-cookie" ,rust-cookie-0.18) + ("rust-either" ,rust-either-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-log" ,rust-log-0.4) + ("rust-memchr" ,rust-memchr-2) + ("rust-pear" ,rust-pear-0.2) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-ref-cast" ,rust-ref-cast-1) + ("rust-rustls" ,rust-rustls-0.21) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-1) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-stable-pattern" ,rust-stable-pattern-0.1) + ("rust-state" ,rust-state-0.6) + ("rust-time" ,rust-time-0.3) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.24) + ("rust-uncased" ,rust-uncased-0.9) + ("rust-uuid" ,rust-uuid-1) + ("rust-x509-parser" ,rust-x509-parser-0.13)))) + (home-page "https://rocket.rs") + (synopsis "HTTP requests, responses and headers tooling for Rocket") + (description + "This package provides types, traits, and parsers for HTTP requests, +responses, and headers for the Rocket web framework.") + (license (list license:expat license:asl2.0)))) + (define-public rust-rocket-http-0.4 (package + (inherit rust-rocket-http-0.5) (name "rust-rocket-http") (version "0.4.7") (source @@ -3760,7 +3806,6 @@ (define-public rust-rocket-http-0.4 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0ga98nbcga8amg4xhrfkn1wljnqx9h0vv7mnay9g66vsxl042dnf")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -3774,13 +3819,7 @@ (define-public rust-rocket-http-0.4 ("rust-smallvec" ,rust-smallvec-1) ("rust-state" ,rust-state-0.4) ("rust-time" ,rust-time-0.1) - ("rust-unicode-xid" ,rust-unicode-xid-0.1)))) - (home-page "https://rocket.rs") - (synopsis "HTTP requests, responses and headers tooling for Rocket") - (description - "This package provides types, traits, and parsers for HTTP requests, -responses, and headers for the Rocket web framework.") - (license (list license:expat license:asl2.0)))) + ("rust-unicode-xid" ,rust-unicode-xid-0.1)))))) (define-public rust-stdweb-0.4 (package