Merge pull request #242608 from xrelkd/update/sqlx-cli

sqlx-cli: 0.6.2 -> 0.7.0
This commit is contained in:
Mario Rodas 2023-07-10 22:34:27 -05:00 committed by GitHub
commit 477a26625e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,6 @@
, lib
, rustPlatform
, fetchFromGitHub
, fetchpatch
, pkg-config
, openssl
, SystemConfiguration
@ -15,25 +14,16 @@
rustPlatform.buildRustPackage rec {
pname = "sqlx-cli";
version = "0.6.2";
version = "0.7.0";
src = fetchFromGitHub {
owner = "launchbadge";
repo = "sqlx";
rev = "v${version}";
sha256 = "sha256-pQlrKjhOJfjNEmLxqnFmmBY1naheZUsaq2tGdLKGxjg=";
hash = "sha256-f9DCavvqq/a+1wusKlc3jOjyFRVMIAHGCryZxV5qews=";
};
patches = [
# https://github.com/launchbadge/sqlx/pull/2228
(fetchpatch {
name = "fix-rust-1.65-compile.patch";
url = "https://github.com/launchbadge/sqlx/commit/2fdf85b212332647dc4ac47e087df946151feedf.patch";
hash = "sha256-5BCuIwmECe9qQrdYll7T+UOGwuTBolWEhKNE7GcZqJw=";
})
];
cargoSha256 = "sha256-AbA8L7rkyZfKW0vvjyrcW5eU6jGD+zAqIcEUOJmeqJs=";
cargoHash = "sha256-9vbrehtfw6ctIF7uXZPvODx3kkxz+m9h2Uv+2t45I0w=";
doCheck = false;
cargoBuildFlags = [ "-p sqlx-cli" ];
@ -52,6 +42,6 @@ rustPlatform.buildRustPackage rec {
"SQLx's associated command-line utility for managing databases, migrations, and enabling offline mode with sqlx::query!() and friends.";
homepage = "https://github.com/launchbadge/sqlx";
license = licenses.asl20;
maintainers = with maintainers; [ greizgh ];
maintainers = with maintainers; [ greizgh xrelkd ];
};
}