[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
29/43: gnu: Add rust-diesel-migrations-2.
From: |
guix-commits |
Subject: |
29/43: gnu: Add rust-diesel-migrations-2. |
Date: |
Thu, 26 Dec 2024 08:43:45 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit be70048b7c56e7c5ceca1d4929018a745b8dd8cb
Author: Giacomo Leidi <goodoldpaul@autistici.org>
AuthorDate: Thu Nov 7 23:27:01 2024 +0100
gnu: Add rust-diesel-migrations-2.
* gnu/packages/crates-io.scm (rust-diesel-migrations-2): New variable.
(rust-diesel-migrations-1): Inherit from rust-diesel-migrations-2.
Change-Id: Ifc9654995b613f9666216be32f910d1f403b2af5
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-io.scm | 43 +++++++++++++++++++++++++++++++------------
1 file changed, 31 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bca6598657..702c08d815 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23610,34 +23610,53 @@ Diesel.")
("rust-diesel" ,rust-diesel-1)
("rust-dotenv" ,rust-dotenv-0.10))))))
+(define-public rust-diesel-migrations-2
+ (package
+ (name "rust-diesel-migrations")
+ (version "2.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "diesel_migrations" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1b0ld4azk73rg2axwq7a4wnpwba3085f43jp3cw62n8c2bqb6dk0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#: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"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0k4g03ciqwya2xc1xvy5s9cs6q55k45wxa1gszswfg9m2f2dwg5z"))))
- (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))
+ (("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))))
- (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))))
+ ("rust-dotenv" ,rust-dotenv-0.10))))))
(define-public rust-diesel-table-macro-syntax-0.1
(package
- 07/43: gnu: rust-indoc-impl-0.3: Use package name in source URI., (continued)
- 07/43: gnu: rust-indoc-impl-0.3: Use package name in source URI., guix-commits, 2024/12/26
- 12/43: gnu: rust-syn-0.15: Remove properties., guix-commits, 2024/12/26
- 15/43: gnu: rust-libloading-0.6: Remove inputs., guix-commits, 2024/12/26
- 17/43: gnu: rust-pcap-0.7: Remove native-inputs., guix-commits, 2024/12/26
- 21/43: gnu: rust-libsqlite3-sys-0.20: Inherit inputs., guix-commits, 2024/12/26
- 34/43: gnu: Add rust-roxmltree-0.18., guix-commits, 2024/12/26
- 35/43: gnu: Add rust-zbar-rust-0.0.23., guix-commits, 2024/12/26
- 40/43: gnu: Add rust-qrcodegen-1., guix-commits, 2024/12/26
- 24/43: gnu: rust-indoc-impl-0.3: Do not inherit., guix-commits, 2024/12/26
- 28/43: gnu: Add rust-migrations-macros-2., guix-commits, 2024/12/26
- 29/43: gnu: Add rust-diesel-migrations-2.,
guix-commits <=
- 37/43: gnu: Add rust-enum-ordinalize-derive-4., guix-commits, 2024/12/26
- 32/43: gnu: Add rust-search-provider-0.6., guix-commits, 2024/12/26
- 38/43: gnu: Add rust-enum-ordinalize-4., guix-commits, 2024/12/26
- 43/43: gnu: Add gnome-authenticator., guix-commits, 2024/12/26
- 36/43: gnu: Add rust-checked-int-cast-1., guix-commits, 2024/12/26
- 41/43: gnu: Add rust-manifest-dir-macros-0.1., guix-commits, 2024/12/26
- 39/43: gnu: Add rust-qrcode-generator-4., guix-commits, 2024/12/26
- 42/43: gnu: rust-pango-sys-0.18: Adjust for our current pango version., guix-commits, 2024/12/26
- 30/43: gnu: Add rust-oo7-0.2., guix-commits, 2024/12/26
- 31/43: gnu: Add rust-qrencode-0.14., guix-commits, 2024/12/26