From patchwork Tue Mar 19 03:51:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: normally_js X-Patchwork-Id: 61962 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 7941527BBEB; Tue, 19 Mar 2024 03:55:43 +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=ham 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 8C17527BBE2 for ; Tue, 19 Mar 2024 03:55:42 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmQZW-00010F-K7; Mon, 18 Mar 2024 23:55:30 -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 1rmQZV-0000xf-Dx for guix-patches@gnu.org; Mon, 18 Mar 2024 23:55: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 1rmQZU-0000Ij-PA for guix-patches@gnu.org; Mon, 18 Mar 2024 23:55:29 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rmQa7-0006Ed-5b; Mon, 18 Mar 2024 23:56:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69890] [PATCH 38/43] gnu: Add rust-rocket-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:56: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.171082052323710 (code B ref 69890); Tue, 19 Mar 2024 03:56:07 +0000 Received: (at 69890) by debbugs.gnu.org; 19 Mar 2024 03:55:23 +0000 Received: from localhost ([127.0.0.1]:35183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmQZO-0006AB-Mo for submit@debbugs.gnu.org; Mon, 18 Mar 2024 23:55:23 -0400 Received: from mout01.posteo.de ([185.67.36.65]:37855) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmQYD-0005z0-Dq for 69890@debbugs.gnu.org; Mon, 18 Mar 2024 23:54:10 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 4E978240027 for <69890@debbugs.gnu.org>; Tue, 19 Mar 2024 04:53:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710820405; bh=qUJ8uQzVvd3O2M43Nrwj4v6e0sRpdTfKzvck3BGPz4I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=GeIuGcqxTuGjfmgJWVCPNnNMdHCLOdxrz0zij0DdGBbkFcvuGSOfmSqBNe6LZBMxn QfnuRxcp9kKQLC1wmjlAVOOtb7kphdTQ2uHevLXugPWCDRXBkg9yCVbwc03Jyz92iY Tf5PugmrUQqSVcYhU5UZRvffljsX2F/PIWPYXeLJlnXO6BGXL8ThGKH6MBcOzwfqW4 WOGkCyXjpo9pPsqPEUIjnrAHq/M4E5w7Ww/Uxc55c/woh8E76kysLFIbqy/xpsqDNU p67G680+OkmdtUYhNpQmVPqX16MiQe6OKH3cHAtwtDnAlaVI2QXAGVIteBhPAj2jpx ltlN0qxdbWTKw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TzHrN4pbvz6tm4; Tue, 19 Mar 2024 04:53:24 +0100 (CET) From: normalmente Date: Tue, 19 Mar 2024 03:51:09 +0000 Message-ID: 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-0.5): New variable. Change-Id: I773a28d57da2398d4da05d829ecb5d9c3f0d1f45 --- gnu/packages/crates-web.scm | 69 +++++++++++++++++++++++++++++++------ 1 file changed, 59 insertions(+), 10 deletions(-) diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index 8f4549c469..2d097b96c3 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -3684,8 +3684,66 @@ (define-public rust-reqwest-0.10 (inputs (list openssl)))) +(define-public rust-rocket-0.5 + (package + (name "rust-rocket") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rocket" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0l4i93dai7pyzlkvdjkqg2g7ni1r6749cwx4nrrhsrr6rdybaywy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-async-stream" ,rust-async-stream-0.3) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-atomic" ,rust-atomic-0.5) + ("rust-binascii" ,rust-binascii-0.1) + ("rust-bytes" ,rust-bytes-1) + ("rust-either" ,rust-either-1) + ("rust-figment" ,rust-figment-0.10) + ("rust-futures" ,rust-futures-0.3) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-log" ,rust-log-0.4) + ("rust-memchr" ,rust-memchr-2) + ("rust-multer" ,rust-multer-2) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-rand" ,rust-rand-0.8) + ("rust-ref-cast" ,rust-ref-cast-1) + ("rust-rmp-serde" ,rust-rmp-serde-1) + ("rust-rocket-codegen" ,rust-rocket-codegen-0.5) + ("rust-rocket-http" ,rust-rocket-http-0.5) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-state" ,rust-state-0.6) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-time" ,rust-time-0.3) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-tokio-util" ,rust-tokio-util-0.7) + ("rust-ubyte" ,rust-ubyte-0.10) + ("rust-uuid" ,rust-uuid-1) + ("rust-version-check" ,rust-version-check-0.9) + ("rust-yansi" ,rust-yansi-1)) + #:cargo-development-inputs + (("rust-figment" ,rust-figment-0.10) + ("rust-pretty-assertions" ,rust-pretty-assertions-1)))) + (home-page "https://rocket.rs") + (synopsis + "Web framework with focus on ease-of-use, expressibility, and speed") + (description + "Rocket is a web framework with a focus on ease-of-use, expressibility, +and speed.") + (license (list license:expat license:asl2.0)))) + (define-public rust-rocket-0.4 (package + (inherit rust-rocket-0.5) (name "rust-rocket") (version "0.4.7") (source @@ -3695,7 +3753,6 @@ (define-public rust-rocket-0.4 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "04ybnhjw92zaan92lsmx6mkhqc9cpsg3885svb3wzyj39pyzvsvz")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -3711,15 +3768,7 @@ (define-public rust-rocket-0.4 ("rust-time" ,rust-time-0.1) ("rust-toml" ,rust-toml-0.4) ("rust-version-check" ,rust-version-check-0.9) - ("rust-yansi" ,rust-yansi-0.5) - ("rust-yansi" ,rust-yansi-0.5)))) - (home-page "https://rocket.rs") - (synopsis - "Web framework with focus on ease-of-use, expressibility, and speed") - (description - "Rocket is a web framework with a focus on ease-of-use, expressibility, -and speed.") - (license (list license:expat license:asl2.0)))) + ("rust-yansi" ,rust-yansi-0.5)))))) (define-public rust-rocket-codegen-0.5 (package