From patchwork Thu Nov 7 22:27:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 70104 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 C058127BBE9; Thu, 7 Nov 2024 22:28:52 +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.3 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,URIBL_SBL_A 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 2D6D227BBE2 for ; Thu, 7 Nov 2024 22:28:52 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9Ayy-00084K-IS; Thu, 07 Nov 2024 17:28: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 1t9Ayx-00083v-JI for guix-patches@gnu.org; Thu, 07 Nov 2024 17:28:03 -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 1t9Ayx-0007tc-Ax for guix-patches@gnu.org; Thu, 07 Nov 2024 17:28:03 -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=FX2zoUoTS/0LLASysycNwFnP7A48K30PlYDlphAXxW0=; b=fvy0aerqEj6h7gftT2m/PIGd3BXr1+ui3xzIJR+Sy5hZ0h1pcTu1YTnpVGu2feDIq+apNocXxSEqb2jfVID9c+kgsZ7xCWp8k7zOMw9mcVR+7+IK1bA8MuAyEcZ9Nw7mu+PWhcBqD8UXzKc+GygtZP5OgDHcuUpSTCnFV8ZvWF/vtZhxkKkDyYcJDYSeMHnu1Y3HiCqqvJ5PZ4SSdQp5WuVAvvK1Cn5U98xiZyUD9bjJkOI9545XBhLU4/9sGXfclaZHqRCFqL1zVmn5ru27rgWa4jWORytgLDs1j5bDnqEifDvZIpW1BHMWZobBGLGnf4kInk/K+jjOpT92iO+wdg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t9Ayx-00081d-4f; Thu, 07 Nov 2024 17:28:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74234] [PATCHv2 rust-team 04/20] gnu: Add rust-diesel-migrations-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:03 +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.173101846530657 (code B ref 74234); Thu, 07 Nov 2024 22:28:03 +0000 Received: (at 74234) by debbugs.gnu.org; 7 Nov 2024 22:27:45 +0000 Received: from localhost ([127.0.0.1]:50139 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9Aye-0007yF-C7 for submit@debbugs.gnu.org; Thu, 07 Nov 2024 17:27:44 -0500 Received: from confino.investici.org ([93.190.126.19]:42667) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9Ayc-0007xs-9P for 74234@debbugs.gnu.org; Thu, 07 Nov 2024 17:27:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1731018461; bh=FX2zoUoTS/0LLASysycNwFnP7A48K30PlYDlphAXxW0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=k0dwDmwWJt2of0Qi5xs7yubdYsZ5bNb0pddaEyYvHQQE9stkGLK1qODsmz+guWr6w 9AI6kyqLUlJehZ5cmbvkYOvitS7QZB3cCnS+018cSZ+MkxhZ9O1rfv7cJvp/yNoZLx X98Info4RlDFkXXzubTp9HdQhfjTO0GzqmE5kyuc= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XkxXY5yHvz112P; 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 4XkxXY5C7nz1111; Thu, 7 Nov 2024 22:27:41 +0000 (UTC) Date: Thu, 7 Nov 2024 23:27:01 +0100 Message-ID: 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-diesel-migrations-2): New variable; (rust-diesel-migrations-1): inherit from rust-diesel-migrations-2. Change-Id: Ifc9654995b613f9666216be32f910d1f403b2af5 --- gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++++------ 1 file changed, 31 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3a2bfba2b2..957924d931 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -22263,10 +22263,10 @@ (define-public rust-diesel-derives-1 ("rust-diesel" ,rust-diesel-1) ("rust-dotenv" ,rust-dotenv-0.10)))))) -(define-public rust-diesel-migrations-1 +(define-public rust-diesel-migrations-2 (package (name "rust-diesel-migrations") - (version "1.4.0") + (version "2.1.0") (source (origin (method url-fetch) @@ -22274,24 +22274,49 @@ (define-public rust-diesel-migrations-1 (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0k4g03ciqwya2xc1xvy5s9cs6q55k45wxa1gszswfg9m2f2dwg5z")))) + (base32 "1b0ld4azk73rg2axwq7a4wnpwba3085f43jp3cw62n8c2bqb6dk0")))) (build-system cargo-build-system) (arguments `(#:tests? #f ;doctest_setup.rs: No such file or directory #:cargo-inputs (("rust-migrations-internals" - ,rust-migrations-internals-1) + ,rust-migrations-internals-2) ("rust-migrations-macros" - ,rust-migrations-macros-1)) + ,rust-migrations-macros-2)) #:cargo-development-inputs (("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-diesel" ,rust-diesel-1) + ("rust-diesel" ,rust-diesel-2) ("rust-dotenv" ,rust-dotenv-0.10)))) (home-page "https://diesel.rs") (synopsis "Migration management for diesel") (description "This package provides migration management for Diesel.") (license (list license:expat license:asl2.0)))) +(define-public rust-diesel-migrations-1 + (package + (inherit rust-diesel-migrations-2) + (name "rust-diesel-migrations") + (version "1.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "diesel_migrations" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0k4g03ciqwya2xc1xvy5s9cs6q55k45wxa1gszswfg9m2f2dwg5z")))) + (arguments + `(#:tests? #f ;doctest_setup.rs: No such file or directory + #:cargo-inputs + (("rust-migrations-internals" + ,rust-migrations-internals-1) + ("rust-migrations-macros" + ,rust-migrations-macros-1)) + #:cargo-development-inputs + (("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-diesel" ,rust-diesel-1) + ("rust-dotenv" ,rust-dotenv-0.10)))))) + (define-public rust-diesel-table-macro-syntax-0.1 (package (name "rust-diesel-table-macro-syntax")