From patchwork Tue Mar 19 03:51:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: normally_js X-Patchwork-Id: 61968 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 4CC5127BBEA; Tue, 19 Mar 2024 03:56:06 +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 868D827BBE2 for ; Tue, 19 Mar 2024 03:56:05 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmQZX-00011W-5E; Mon, 18 Mar 2024 23:55:31 -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 1rmQZU-0000vx-EF for guix-patches@gnu.org; Mon, 18 Mar 2024 23:55:28 -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-0000IR-0m for guix-patches@gnu.org; Mon, 18 Mar 2024 23:55:28 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rmQa6-0006EP-E1; Mon, 18 Mar 2024 23:56:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69890] [PATCH 36/43] gnu: Add rust-rocket-codegen-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:06 +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.171082052223698 (code B ref 69890); Tue, 19 Mar 2024 03:56:06 +0000 Received: (at 69890) by debbugs.gnu.org; 19 Mar 2024 03:55:22 +0000 Received: from localhost ([127.0.0.1]:35178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmQZO-0006A3-45 for submit@debbugs.gnu.org; Mon, 18 Mar 2024 23:55:22 -0400 Received: from mout01.posteo.de ([185.67.36.65]:57749) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmQYD-0005yT-1u for 69890@debbugs.gnu.org; Mon, 18 Mar 2024 23:54:09 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 63297240027 for <69890@debbugs.gnu.org>; Tue, 19 Mar 2024 04:53:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710820403; bh=UjpQsglh6qRsvPP+H3ueSf81DoUySqn1BxocaVHj99o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=Rde873tXNUA4FCPQzFYQQmuZ+z5D86b8lJ+5Qba/dzTWYcwpokQSjVIi8SK4/npYO 6LxWYY75OSZo1FQGGYrT5dSdqWJtHBod1ZGQLPxFjBY8P6NvJDbGnCyR4pj46xZRvD eRjSuHCqlFuTmpBc/rJTd43NynbJNYyMU94DeXi+9/ETFv3kmd/3ZhjLeIEKOpxnLI NO3+R7rAOboAYB3jHxSNGLepgpSo5UTFUpDfxqqEhOOparMK8agfIXNEFY+vYe1p2l M3cV1dLPUB1e/e4FVslcr4JHxT1uJLPv5cKQdAGm3H4/gKQmkd/doPF3qd1d6+RDRj uD484qZm1I5Eg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TzHrL5MQ2z6tm4; Tue, 19 Mar 2024 04:53:22 +0100 (CET) From: normalmente Date: Tue, 19 Mar 2024 03:51:07 +0000 Message-ID: <312eeb535618b6a303a88a5ab153d37483b16ae0.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-codegen-0.5): New variable. Change-Id: I903560fe919bc02024dc0ee8762bae7ac38df525 --- gnu/packages/crates-web.scm | 44 +++++++++++++++++++++++++++++++------ 1 file changed, 37 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index c95c228d23..8f4549c469 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -3721,8 +3721,44 @@ (define-public rust-rocket-0.4 and speed.") (license (list license:expat license:asl2.0)))) +(define-public rust-rocket-codegen-0.5 + (package + (name "rust-rocket-codegen") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rocket_codegen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0k6hdf9s9y73kzj89qs688gnfjj1sl4imp6pdjz22pzpmdk808x2")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; phase `check' could not compile. + #:cargo-inputs + (("rust-devise" ,rust-devise-0.4) + ("rust-glob" ,rust-glob-0.3) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-rocket-http" ,rust-rocket-http-0.5) + ("rust-syn" ,rust-syn-2) + ("rust-unicode-xid" ,rust-unicode-xid-0.2) + ("rust-version-check" ,rust-version-check-0.9)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-time" ,rust-time-0.3) + ("rust-trybuild" ,rust-trybuild-1) + ("rust-version-check" ,rust-version-check-0.9)))) + (home-page "https://rocket.rs") + (synopsis "Procedural macros for the Rocket web framework") + (description + "This package provides procedural macros for the Rocket web framework.") + (license (list license:expat license:asl2.0)))) + (define-public rust-rocket-codegen-0.4 (package + (inherit rust-rocket-codegen-0.5) (name "rust-rocket-codegen") (version "0.4.7") (source @@ -3732,7 +3768,6 @@ (define-public rust-rocket-codegen-0.4 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "18s2dll8c4sd26s8cfr6cizj5z55xwnk6r6x7b2wvcf8n9ajrb6f")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -3742,12 +3777,7 @@ (define-public rust-rocket-codegen-0.4 ("rust-quote" ,rust-quote-0.6) ("rust-rocket-http" ,rust-rocket-http-0.4) ("rust-version-check" ,rust-version-check-0.9) - ("rust-yansi" ,rust-yansi-0.5)))) - (home-page "https://rocket.rs") - (synopsis "Procedural macros for the Rocket web framework") - (description - "This package provides procedural macros for the Rocket web framework.") - (license (list license:expat license:asl2.0)))) + ("rust-yansi" ,rust-yansi-0.5)))))) (define-public rust-rocket-http-0.5 (package