diff mbox series

[bug#74234,PATCHv2,rust-team,02/20] gnu: Add rust-migrations-internals-2.

Message ID 308815a76477e6798b484b708cf312d58dd3f0fb.1731018436.git.goodoldpaul@autistici.org
State New
Headers show
Series [bug#74234,PATCHv2,rust-team,01/20] gnu: Add rust-ashpd-0.6. | expand

Commit Message

Giacomo Leidi Nov. 7, 2024, 10:26 p.m. UTC
* gnu/packages/crates-io.scm (rust-migrations-internals-2): New
variable;
(rust-migrations-internals-1): inherit from rust-migrations-internals-2.

Change-Id: I8bf2abc2019ea4545f3dea977f925f3b543a69c3
---
 gnu/packages/crates-io.scm | 26 +++++++++++++++++++++++---
 1 file changed, 23 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1c17d49611..5ccfa358df 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44082,10 +44082,10 @@  (define-public rust-miette-derive-5
                        ("rust-quote" ,rust-quote-1)
                        ("rust-syn" ,rust-syn-2))))))
 
-(define-public rust-migrations-internals-1
+(define-public rust-migrations-internals-2
   (package
     (name "rust-migrations-internals")
-    (version "1.4.1")
+    (version "2.1.0")
     (source
      (origin
        (method url-fetch)
@@ -44093,7 +44093,7 @@  (define-public rust-migrations-internals-1
        (file-name
         (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0q2qk4jpa16mcfcmhjz6hdg2s73az1k7j0cy08vvh87h997chkrb"))))
+        (base32 "1nnsr5d4h2kcvmz2j4l8g8n8r1zm7nngwmp842q58lh1h0azf8qg"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
@@ -44107,6 +44107,26 @@  (define-public rust-migrations-internals-1
 migration mechanism.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-migrations-internals-1
+  (package
+    (inherit rust-migrations-internals-2)
+    (name "rust-migrations-internals")
+    (version "1.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "migrations_internals" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0q2qk4jpa16mcfcmhjz6hdg2s73az1k7j0cy08vvh87h997chkrb"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-barrel" ,rust-barrel-0.6)
+        ("rust-diesel" ,rust-diesel-1))
+       #:cargo-development-inputs
+       (("rust-tempdir" ,rust-tempdir-0.3))))))
+
 (define-public rust-migrations-macros-1
   (package
     (name "rust-migrations-macros")