postgres-language-server: 0.16.1 -> 0.17.2
This commit is contained in:
@@ -8,22 +8,22 @@
|
||||
}:
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "postgres-language-server";
|
||||
version = "0.16.1";
|
||||
version = "0.17.2";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/supabase-community/postgres-language-server";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-zdFgfZ9GtZObn839kkAIT71bBt7YHs28qkAWlp3k7kw=";
|
||||
hash = "sha256-gUE6OlDFlqS+Y+gX1qYs2E8sJfNUSmS/ypMsh/q7VtE=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
cargoHash = "sha256-psgo5/tDHaQd0dkiD/3uhrKuxlOBLi/xG4x3gVPLZbw=";
|
||||
cargoHash = "sha256-QP63SmAxjMdoz3yHLkvgM8xRleHXQmSRwTkyghbvJ+c=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
rustPlatform.bindgenHook
|
||||
|
||||
# Required to build the custom tree-sitter grammar
|
||||
# https://github.com/supabase-community/postgres-language-server/blob/main/crates/pgt_treesitter_grammar/grammar.js
|
||||
# https://github.com/supabase-community/postgres-language-server/blob/main/crates/pgls_treesitter_grammar/grammar.js
|
||||
tree-sitter
|
||||
nodejs
|
||||
];
|
||||
@@ -37,10 +37,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
|
||||
# As specified in the upstream: https://github.com/supabase-community/postgres-language-server/blob/main/.github/workflows/release.yml
|
||||
RUSTFLAGS = "-C strip=symbols -C codegen-units=1";
|
||||
PGT_VERSION = finalAttrs.version;
|
||||
PGLS_VERSION = finalAttrs.version;
|
||||
};
|
||||
|
||||
cargoBuildFlags = [ "-p=pgt_cli" ];
|
||||
cargoBuildFlags = [ "-p=pgls_cli" ];
|
||||
cargoTestFlags = finalAttrs.cargoBuildFlags;
|
||||
checkFlags = [
|
||||
# Tries to write to the file system relatively to the current path
|
||||
|
||||
Reference in New Issue
Block a user