From patchwork Thu Nov 7 22:27:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 70110 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 C9C1B27BBEA; Thu, 7 Nov 2024 22:29:13 +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=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, 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 82BCE27BBE2 for ; Thu, 7 Nov 2024 22:29:13 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9AzB-0008Aw-JY; Thu, 07 Nov 2024 17:28:17 -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 1t9Az4-000883-Ti for guix-patches@gnu.org; Thu, 07 Nov 2024 17:28:11 -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 1t9Az4-0007v6-Ko for guix-patches@gnu.org; Thu, 07 Nov 2024 17:28:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=RMnKaeOwVsQpddeMbniaNQ5DkUedyfL6ybPBicvgdqk=; b=KamDfYGeyCOmS1wkedhvRgSEeCAQmC1BI9K8f2/9JhbThfwloNErTUIZ268xu7zcygcCdPWDzeDeq3T5dAGmQNonulrCXw7ahUKcqi5M1UtHZjw17o5ICpjskvrn4vnm1g2J57fgnjFd3nWsaruYnq/KJ7QnudAcChgukKjgoJjf5BmKMm+n6JMlhcYRDe9DJ/9bJPuOzQzIwGD3J29m2s4uh7jC6ckR7foyZgvc21t7li8DMbQrAhe9nUout17tXMrXaaKIpp7ErS+f+lGVTdAXxf1byJo705LU826C8Cff2P4BX3zwLDZawn/5phu1paOz+BNDBY+DSs2THYXQLg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t9Az4-00084C-G6; Thu, 07 Nov 2024 17:28:10 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74234] [PATCHv2 rust-team 03/20] gnu: Add rust-migrations-macros-2. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Thu, 07 Nov 2024 22:28:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74234 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74234@debbugs.gnu.org Cc: Giacomo Leidi , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 74234-submit@debbugs.gnu.org id=B74234.173101848430877 (code B ref 74234); Thu, 07 Nov 2024 22:28:10 +0000 Received: (at 74234) by debbugs.gnu.org; 7 Nov 2024 22:28:04 +0000 Received: from localhost ([127.0.0.1]:50180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9Ayx-00081m-H6 for submit@debbugs.gnu.org; Thu, 07 Nov 2024 17:28:04 -0500 Received: from confino.investici.org ([93.190.126.19]:43087) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9Ayj-0007z2-4g for 74234@debbugs.gnu.org; Thu, 07 Nov 2024 17:27:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1731018461; bh=RMnKaeOwVsQpddeMbniaNQ5DkUedyfL6ybPBicvgdqk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uoIlYtvU5mFF4ZTqOr6lQZ31tB0e0bsxwNiuSgYEf7ULQM6pO4Uglqm7KcmOVVgsj vOV8bij8OJDlbS0UxxqFQfJ+bXzXUCKjekTrvZzM3oLBKbPbBeT1D3ytvao1ortPdr xCr8jUWBX1wsZATeGGAINsM3Vtmh1WSWMKAAxx9k= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XkxXY3c2Xz112G; Thu, 7 Nov 2024 22:27:41 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4XkxXY2sL1z1111; Thu, 7 Nov 2024 22:27:41 +0000 (UTC) Date: Thu, 7 Nov 2024 23:27:00 +0100 Message-ID: <40e9d4c3cdcc688016dcc98c04c7bae0c5bf0f6f.1731018436.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: <509aa62709c43d2a92900d9249065342d14bc1fa.1731018436.git.goodoldpaul@autistici.org> References: <509aa62709c43d2a92900d9249065342d14bc1fa.1731018436.git.goodoldpaul@autistici.org> 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: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches X-Patchwork-Original-From: Giacomo Leidi via Guix-patches via From: Giacomo Leidi 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-io.scm (rust-migrations-macros-2): New variable; (rust-migrations-macros-1): inherit from rust-migrations-macros-2. Change-Id: I2cd4eac328fb5c986286348dfb80d9b3eb43b176 --- gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++++------ 1 file changed, 32 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5ccfa358df..3a2bfba2b2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -44127,10 +44127,10 @@ (define-public rust-migrations-internals-1 #:cargo-development-inputs (("rust-tempdir" ,rust-tempdir-0.3)))))) -(define-public rust-migrations-macros-1 +(define-public rust-migrations-macros-2 (package (name "rust-migrations-macros") - (version "1.4.2") + (version "2.1.0") (source (origin (method url-fetch) @@ -44138,12 +44138,15 @@ (define-public rust-migrations-macros-1 (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "173qgwans6n2jf6b7qajq273rvg1r9c34p5fflzr53gx14lz2lwp")))) + (base32 "027gd4s58fmh7jil9rz0ckdsdw81mqfa6dyqbfmvnrqfqxd35qyc")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-migrations-internals" - ,rust-migrations-internals-1) + ;; Some files are missing + `(#:tests? #f + #:cargo-inputs + (("rust-dotenvy" ,rust-dotenvy-0.15) + ("rust-migrations-internals" + ,rust-migrations-internals-2) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)) @@ -44159,6 +44162,29 @@ (define-public rust-migrations-macros-1 embedded migrations.") (license (list license:expat license:asl2.0)))) +(define-public rust-migrations-macros-1 + (package + (inherit rust-migrations-macros-2) + (name "rust-migrations-macros") + (version "1.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "migrations_macros" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "173qgwans6n2jf6b7qajq273rvg1r9c34p5fflzr53gx14lz2lwp")))) + (arguments + `(#:cargo-inputs + (("rust-migrations-internals" + ,rust-migrations-internals-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)) + #:cargo-development-inputs + (("rust-tempdir" ,rust-tempdir-0.3)))))) + (define-public rust-mimalloc-0.1 (package (name "rust-mimalloc")