unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Aaron Covrig via Guix-patches via <guix-patches@gnu.org>
To: 74234@debbugs.gnu.org
Cc: Giacomo Leidi <goodoldpaul@autistici.org>
Subject: [bug#74234] [PATCH rust-team v3 03/23] gnu: Add rust-diesel-migrations-2.
Date: Sun,  8 Dec 2024 20:11:27 -0500	[thread overview]
Message-ID: <20241209011150.1455224-4-aaron.covrig.us@ieee.org> (raw)
In-Reply-To: <20241209011150.1455224-1-aaron.covrig.us@ieee.org>

From: Giacomo Leidi <goodoldpaul@autistici.org>

* 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 | 46 +++++++++++++++++++++++++-------------
 1 file changed, 31 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 89d81f7191..b437f9132d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22863,35 +22863,51 @@ (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)
        (uri (crate-uri "diesel_migrations" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
+       (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-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))))
+     `( ;#:tests? #f ;doctest_setup.rs: No such file or directory
+        #:cargo-inputs (("rust-diesel" ,rust-diesel-2)
+                        ("rust-migrations-internals" ,rust-migrations-internals-2)
+                        ("rust-migrations-macros" ,rust-migrations-macros-2))
+       #:cargo-development-inputs (("rust-cfg-if" ,rust-cfg-if-0.1)
+                                   ("rust-dotenvy" ,rust-dotenvy-0.15)
+                                   ("rust-tempfile" ,rust-tempfile-3))))
     (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")
-- 
2.47.0





  parent reply	other threads:[~2024-12-09  1:14 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-06 20:48 [bug#74234] [PATCH rust-team] Add gnome-authenticator paul via Guix-patches via
2024-11-06 20:50 ` [bug#74234] [PATCH rust-team 01/20] gnu: Add rust-ashpd-0.6 Giacomo Leidi via Guix-patches via
2024-11-06 20:50   ` [bug#74234] [PATCH rust-team 02/20] gnu: Add rust-migrations-internals-2 Giacomo Leidi via Guix-patches via
2024-11-06 20:50   ` [bug#74234] [PATCH rust-team 03/20] gnu: Add rust-migrations-macros-2 Giacomo Leidi via Guix-patches via
2024-11-06 20:50   ` [bug#74234] [PATCH rust-team 04/20] gnu: Add rust-diesel-migrations-2 Giacomo Leidi via Guix-patches via
2024-11-06 20:50   ` [bug#74234] [PATCH rust-team 05/20] gnu: Add rust-blocking-1.5 Giacomo Leidi via Guix-patches via
2024-11-06 20:50   ` [bug#74234] [PATCH rust-team 06/20] gnu: Add rust-oo7-0.2 Giacomo Leidi via Guix-patches via
2024-11-06 20:50   ` [bug#74234] [PATCH rust-team 07/20] gnu: Add rust-percent-encoding-2.1 Giacomo Leidi via Guix-patches via
2024-11-06 20:50   ` [bug#74234] [PATCH rust-team 08/20] gnu: Add rust-checked-int-cast-1 Giacomo Leidi via Guix-patches via
2024-11-06 20:50   ` [bug#74234] [PATCH rust-team 09/20] gnu: Add rust-qrencode-0.14 Giacomo Leidi via Guix-patches via
2024-11-06 20:50   ` [bug#74234] [PATCH rust-team 10/20] gnu: Add rust-search-provider-0.6 Giacomo Leidi via Guix-patches via
2024-11-06 20:50   ` [bug#74234] [PATCH rust-team 11/20] gnu: Add rust-enum-ordinalize-derive-4 Giacomo Leidi via Guix-patches via
2024-11-06 20:50   ` [bug#74234] [PATCH rust-team 12/20] gnu: Add rust-enum-ordinalize-4 Giacomo Leidi via Guix-patches via
2024-11-06 20:50   ` [bug#74234] [PATCH rust-team 13/20] gnu: Add rust-qrcodegen-1 Giacomo Leidi via Guix-patches via
2024-11-06 20:50   ` [bug#74234] [PATCH rust-team 14/20] gnu: Add rust-manifest-dir-macros-0.1 Giacomo Leidi via Guix-patches via
2024-11-06 20:50   ` [bug#74234] [PATCH rust-team 15/20] gnu: Add rust-qrcode-generator-4 Giacomo Leidi via Guix-patches via
2024-11-06 20:50   ` [bug#74234] [PATCH rust-team 16/20] gnu: Add rust-zbar-rust-0.0 Giacomo Leidi via Guix-patches via
2024-11-06 20:50   ` [bug#74234] [PATCH rust-team 17/20] gnu: Add rust-roxmltree-0.20 Giacomo Leidi via Guix-patches via
2024-11-06 20:50   ` [bug#74234] [PATCH rust-team 18/20] gnu: Add rust-roxmltree-0.18 Giacomo Leidi via Guix-patches via
2024-11-06 20:50   ` [bug#74234] [PATCH rust-team 19/20] gnu: Add rust-svg-metadata-0.4 Giacomo Leidi via Guix-patches via
2024-11-06 20:50   ` [bug#74234] [PATCH rust-team 20/20] gnu: Add gnome-authenticator Giacomo Leidi via Guix-patches via
2024-11-07 22:26 ` [bug#74234] [PATCH rust-team] " paul via Guix-patches via
2024-11-07 22:26 ` [bug#74234] [PATCHv2 rust-team 01/20] gnu: Add rust-ashpd-0.6 Giacomo Leidi via Guix-patches via
2024-11-07 22:26   ` [bug#74234] [PATCHv2 rust-team 02/20] gnu: Add rust-migrations-internals-2 Giacomo Leidi via Guix-patches via
2024-11-07 22:27   ` [bug#74234] [PATCHv2 rust-team 03/20] gnu: Add rust-migrations-macros-2 Giacomo Leidi via Guix-patches via
2024-11-07 22:27   ` [bug#74234] [PATCHv2 rust-team 04/20] gnu: Add rust-diesel-migrations-2 Giacomo Leidi via Guix-patches via
2024-11-07 22:27   ` [bug#74234] [PATCHv2 rust-team 05/20] gnu: Add rust-blocking-1.5 Giacomo Leidi via Guix-patches via
2024-11-07 22:27   ` [bug#74234] [PATCHv2 rust-team 06/20] gnu: Add rust-oo7-0.2 Giacomo Leidi via Guix-patches via
2024-11-07 22:27   ` [bug#74234] [PATCHv2 rust-team 07/20] gnu: Add rust-percent-encoding-2.1 Giacomo Leidi via Guix-patches via
2024-11-07 22:27   ` [bug#74234] [PATCHv2 rust-team 08/20] gnu: Add rust-checked-int-cast-1 Giacomo Leidi via Guix-patches via
2024-11-07 22:27   ` [bug#74234] [PATCHv2 rust-team 09/20] gnu: Add rust-qrencode-0.14 Giacomo Leidi via Guix-patches via
2024-11-07 22:27   ` [bug#74234] [PATCHv2 rust-team 10/20] gnu: Add rust-search-provider-0.6 Giacomo Leidi via Guix-patches via
2024-11-07 22:27   ` [bug#74234] [PATCHv2 rust-team 11/20] gnu: Add rust-enum-ordinalize-derive-4 Giacomo Leidi via Guix-patches via
2024-11-07 22:27   ` [bug#74234] [PATCHv2 rust-team 12/20] gnu: Add rust-enum-ordinalize-4 Giacomo Leidi via Guix-patches via
2024-11-07 22:27   ` [bug#74234] [PATCHv2 rust-team 13/20] gnu: Add rust-qrcodegen-1 Giacomo Leidi via Guix-patches via
2024-11-07 22:27   ` [bug#74234] [PATCHv2 rust-team 14/20] gnu: Add rust-manifest-dir-macros-0.1 Giacomo Leidi via Guix-patches via
2024-11-07 22:27   ` [bug#74234] [PATCHv2 rust-team 15/20] gnu: Add rust-qrcode-generator-4 Giacomo Leidi via Guix-patches via
2024-11-07 22:27   ` [bug#74234] [PATCHv2 rust-team 16/20] gnu: Add rust-zbar-rust-0.0 Giacomo Leidi via Guix-patches via
2024-11-07 22:27   ` [bug#74234] [PATCHv2 rust-team 17/20] gnu: Add rust-roxmltree-0.20 Giacomo Leidi via Guix-patches via
2024-11-07 22:27   ` [bug#74234] [PATCHv2 rust-team 18/20] gnu: Add rust-roxmltree-0.18 Giacomo Leidi via Guix-patches via
2024-11-07 22:27   ` [bug#74234] [PATCHv2 rust-team 19/20] gnu: Add rust-svg-metadata-0.4 Giacomo Leidi via Guix-patches via
2024-11-07 22:27   ` [bug#74234] [PATCHv2 rust-team 20/20] gnu: Add gnome-authenticator Giacomo Leidi via Guix-patches via
2024-12-09  1:11 ` [bug#74234] [PATCH rust-team v3 00/23] WIP add gnome-authenticator Aaron Covrig via Guix-patches via
2024-12-09  1:11   ` [bug#74234] [PATCH rust-team v3 01/23] gnu: Add rust-migrations-internals-2 Aaron Covrig via Guix-patches via
2024-12-09  1:11   ` [bug#74234] [PATCH rust-team v3 02/23] gnu: Add rust-migrations-macros-2 Aaron Covrig via Guix-patches via
2024-12-09  1:11   ` Aaron Covrig via Guix-patches via [this message]
2024-12-09  1:11   ` [bug#74234] [PATCH rust-team v3 04/23] gnu: Add rust-search-provider-0.6 Aaron Covrig via Guix-patches via
2024-12-09  1:11   ` [bug#74234] [PATCH rust-team v3 05/23] gnu: Add rust-manifest-dir-macros-0.1 Aaron Covrig via Guix-patches via
2024-12-09  1:11   ` [bug#74234] [PATCH rust-team v3 06/23] gnu: rust-xmlparser-0.13: Upgrade to v0.13.6 Aaron Covrig via Guix-patches via
2024-12-09  1:11   ` [bug#74234] [PATCH rust-team v3 07/23] gnu: Add rust-roxmltree-0.18 Aaron Covrig via Guix-patches via
2024-12-09  1:11   ` [bug#74234] [PATCH rust-team v3 08/23] gnu: Add rust-roxmltree-0.14: Upgrade to v0.14.1 Aaron Covrig via Guix-patches via
2024-12-09  1:11   ` [bug#74234] [PATCH rust-team v3 09/23] gnu: Add rust-roxmltree-0.20 Aaron Covrig via Guix-patches via
2024-12-09  1:11   ` [bug#74234] [PATCH rust-team v3 10/23] gnu: Add rust-svg-metadata-0.4 Aaron Covrig via Guix-patches via
2024-12-09  1:11   ` [bug#74234] [PATCH rust-team v3 11/23] gnu: Add rust-svg-metadata-0.5 Aaron Covrig via Guix-patches via
2024-12-09  1:11   ` [bug#74234] [PATCH rust-team v3 12/23] gnu: Add rust-checked-int-cast-1 Aaron Covrig via Guix-patches via
2024-12-09  1:11   ` [bug#74234] [PATCH rust-team v3 13/23] gnu: Add rust-qrencode-0.14 Aaron Covrig via Guix-patches via
2024-12-09  1:11   ` [bug#74234] [PATCH rust-team v3 14/23] gnu: Add rust-qrcode-0.14 Aaron Covrig via Guix-patches via
2024-12-09  1:11   ` [bug#74234] [PATCH rust-team v3 15/23] gnu: Add rust-enum-ordinalize-derive-4 Aaron Covrig via Guix-patches via
2024-12-09  1:11   ` [bug#74234] [PATCH rust-team v3 16/23] gnu: Add rust-enum-ordinalize-4 Aaron Covrig via Guix-patches via
2024-12-09  1:11   ` [bug#74234] [PATCH rust-team v3 17/23] gnu: Add rust-qrcodegen-1 Aaron Covrig via Guix-patches via
2024-12-09  1:11   ` [bug#74234] [PATCH rust-team v3 18/23] gnu: Add rust-qrcode-generator-4 Aaron Covrig via Guix-patches via
2024-12-09  1:11   ` [bug#74234] [PATCH rust-team v3 19/23] gnu: Add rust-qrcode-generator-5 Aaron Covrig via Guix-patches via
2024-12-09  1:11   ` [bug#74234] [PATCH rust-team v3 20/23] gnu: Add rust-zbar-rust-0.0 Aaron Covrig via Guix-patches via
2024-12-09  1:11   ` [bug#74234] [PATCH rust-team v3 21/23] gnu: Add rust-oo7-0.2 Aaron Covrig via Guix-patches via
2024-12-09  1:11   ` [bug#74234] [PATCH rust-team v3 22/23] gnu: Add rust-ashpd-0.6 Aaron Covrig via Guix-patches via
2024-12-09  1:11   ` [bug#74234] [PATCH rust-team v3 23/23] gnu: Add gnome-authenticator Aaron Covrig via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241209011150.1455224-4-aaron.covrig.us@ieee.org \
    --to=guix-patches@gnu.org \
    --cc=74234@debbugs.gnu.org \
    --cc=aaron.covrig.us@ieee.org \
    --cc=goodoldpaul@autistici.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).