From patchwork Mon Jan 8 01:51:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wilko Meyer X-Patchwork-Id: 58468 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 877A227BBEC; Mon, 8 Jan 2024 01:55:50 +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 E86CE27BBE2 for ; Mon, 8 Jan 2024 01:55:47 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rMer2-0005sd-5T; Sun, 07 Jan 2024 20:55:04 -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 1rMeqx-0005rs-TR for guix-patches@gnu.org; Sun, 07 Jan 2024 20:54:59 -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 1rMeqx-0003wk-KN for guix-patches@gnu.org; Sun, 07 Jan 2024 20:54:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rMer3-0008JT-Cr for guix-patches@gnu.org; Sun, 07 Jan 2024 20:55:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68312] [PATCH 001/156] gnu: Add rust-rocket-0.5. Resent-From: Wilko Meyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Jan 2024 01:55:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68312 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68312@debbugs.gnu.org Cc: Wilko Meyer Received: via spool by 68312-submit@debbugs.gnu.org id=B68312.170467888731616 (code B ref 68312); Mon, 08 Jan 2024 01:55:05 +0000 Received: (at 68312) by debbugs.gnu.org; 8 Jan 2024 01:54:47 +0000 Received: from localhost ([127.0.0.1]:34127 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMeql-0008Dm-2U for submit@debbugs.gnu.org; Sun, 07 Jan 2024 20:54:47 -0500 Received: from mail.wmeyer.eu ([95.216.196.112]:54926) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMeqi-0008Cr-Fj for 68312@debbugs.gnu.org; Sun, 07 Jan 2024 20:54:45 -0500 From: Wilko Meyer DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wmeyer.eu; s=mail; t=1704678873; bh=O9NNcd+7vXxX0aBGFFb3VQGvjy13ilWuWA1wOff8gFA=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Nq02CnaItN/wOlaeIGglTQZbjSL1saSAgGmN+on/bpl7He++J6lvmYPE5UOV9mThz NZBF0xliSYtC0u2adp6CBsMtixmTDSlDwVKMDmFb6pJjdlUeUweeQsXcf78NbwHWh7 cNnpc9Te49lUXZ+jRry6sUim6eabR65lZSR6T8EI= Date: Mon, 8 Jan 2024 02:51:38 +0100 Message-ID: <0f5fcf8fe60cca528e642267be8329d5c6c1b918.1704675820.git.w@wmeyer.eu> 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: I9aa77833fc06a47a1c7eb307605698ce4bcd2f18 --- gnu/packages/crates-web.scm | 57 ++++++++++++++++++++++++++++++++++++- 1 file changed, 56 insertions(+), 1 deletion(-) diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index e25abcb0859..25b17495ba4 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -2315,8 +2315,63 @@ (define-public rust-nickel-0.11 @code{express} framework for JavaScript.") (license license:expat))) +(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 + `(#:skip-build? #t + #: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)))) + (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 @@ -2343,7 +2398,7 @@ (define-public rust-rocket-0.4 ("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)))) + ("rust-yansi" ,rust-yansi-0.5)))))) (home-page "https://rocket.rs") (synopsis "Web framework with focus on ease-of-use, expressibility, and speed")