From 16f5216e3781de490cd72c0f29e1a822a037bfa5 Mon Sep 17 00:00:00 2001 From: theeasternfurry Date: Mon, 31 Aug 2026 19:34:11 +0700 Subject: [PATCH] sabiql: 1.15.1 -> 2.0.1 --- pkgs/by-name/sa/sabiql/package.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/sa/sabiql/package.nix b/pkgs/by-name/sa/sabiql/package.nix index dbee31ee9e33..2820d1d9622b 100644 --- a/pkgs/by-name/sa/sabiql/package.nix +++ b/pkgs/by-name/sa/sabiql/package.nix @@ -6,6 +6,7 @@ rustc, graphviz, postgresql, + sqlite, xdg-utils, makeBinaryWrapper, nix-update-script, @@ -13,16 +14,16 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "sabiql"; - version = "1.15.1"; + version = "2.0.1"; src = fetchFromGitHub { owner = "riii111"; repo = "sabiql"; rev = "v${finalAttrs.version}"; - hash = "sha256-vxkuYBakLzfZJyOPFD92kYB0QapfaLfwvw/La6kVQXY="; + hash = "sha256-QKc53tMxz9/+5fnDdBvxAj/CPB/UE4uWQ3Kh1haTyAk="; }; - cargoHash = "sha256-UN/3VFGZdjZjBGqCxgdiWUCuDS3p+3z/WqQ9CCwwQAA="; + cargoHash = "sha256-ujT547EFdBxHWY6l1DDrTnMGAek26p3csGouJEk1Mwo="; # Upstream use latest rust version need to patch use nixpkgs version postPatch = '' @@ -33,11 +34,16 @@ rustPlatform.buildRustPackage (finalAttrs: { makeBinaryWrapper ]; + nativeCheckInputs = [ + sqlite + ]; + postInstall = let runtimePathDeps = [ graphviz postgresql + sqlite ] ++ lib.optionals stdenv.hostPlatform.isLinux [ xdg-utils ]; in