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