From 4c2141f91aed4e3ecc5b18d08e2c3270f2c123c1 Mon Sep 17 00:00:00 2001 From: xrelkd <46590321+xrelkd@users.noreply.github.com> Date: Mon, 10 Jul 2023 15:48:30 +0800 Subject: [PATCH] sqlx-cli: 0.6.2 -> 0.7.0 --- pkgs/development/tools/rust/sqlx-cli/default.nix | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/pkgs/development/tools/rust/sqlx-cli/default.nix b/pkgs/development/tools/rust/sqlx-cli/default.nix index 3c20226b8ceb..87a646834091 100644 --- a/pkgs/development/tools/rust/sqlx-cli/default.nix +++ b/pkgs/development/tools/rust/sqlx-cli/default.nix @@ -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" ];