diff options
-rw-r--r-- | pkgs/development/tools/rust/sqlx-cli/default.nix | 16 |
1 files 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 3c20226b8ce..87a64683409 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" ]; |