summary refs log tree commit diff
diff options
context:
space:
mode:
authorxrelkd <46590321+xrelkd@users.noreply.github.com>2023-07-10 15:48:30 +0800
committerxrelkd <46590321+xrelkd@users.noreply.github.com>2023-07-11 10:22:25 +0800
commit4c2141f91aed4e3ecc5b18d08e2c3270f2c123c1 (patch)
treea92b7116fd0d61001358013fecae9591600209f4
parent233a8f00a3d01f56b88ee5653aa781a0077092ce (diff)
downloadnixpkgs-4c2141f91aed4e3ecc5b18d08e2c3270f2c123c1.tar
nixpkgs-4c2141f91aed4e3ecc5b18d08e2c3270f2c123c1.tar.gz
nixpkgs-4c2141f91aed4e3ecc5b18d08e2c3270f2c123c1.tar.bz2
nixpkgs-4c2141f91aed4e3ecc5b18d08e2c3270f2c123c1.tar.lz
nixpkgs-4c2141f91aed4e3ecc5b18d08e2c3270f2c123c1.tar.xz
nixpkgs-4c2141f91aed4e3ecc5b18d08e2c3270f2c123c1.tar.zst
nixpkgs-4c2141f91aed4e3ecc5b18d08e2c3270f2c123c1.zip
sqlx-cli: 0.6.2 -> 0.7.0
-rw-r--r--pkgs/development/tools/rust/sqlx-cli/default.nix16
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" ];