8 rustPlatform.buildRustPackage rec {
9 pname = "postgres-lsp";
10 version = "0-unstable-2024-03-24";
12 src = fetchFromGitHub {
14 repo = "postgres_lsp";
15 rev = "43ca9b675cb152ca7f38cfa6aff6dd2131dfa9a2";
16 hash = "sha256-n7Qbt9fGzC0CcleAtTWDInPz4oaPjI+pvIPrR5EYJ9U=";
17 fetchSubmodules = true;
20 cargoHash = "sha256-UEcHlkbYMA6xETMryWXsDHyAZYtLncRJn2jA6tvw7gQ=";
24 rustPlatform.bindgenHook
27 cargoBuildFlags = [ "-p=postgres_lsp" ];
28 cargoTestFlags = cargoBuildFlags;
30 RUSTC_BOOTSTRAP = 1; # We need rust unstable features
33 description = "Language Server for Postgres";
34 homepage = "https://github.com/supabase/postgres_lsp";
35 license = licenses.mit;
36 maintainers = with maintainers; [ figsoda ];
37 mainProgram = "postgres_lsp";