8 python3 = python311.override {
10 packageOverrides = _: super: {
11 tree-sitter = super.tree-sitter_0_21;
12 lsp-tree-sitter = super.lsp-tree-sitter.overridePythonAttrs(__: {
13 pythonRelaxDeps = [ "tree-sitter" ];
18 python3.pkgs.buildPythonApplication rec {
19 pname = "autotools-language-server";
23 src = fetchFromGitHub {
25 repo = "autotools-language-server";
26 rev = "refs/tags/${version}";
27 hash = "sha256-V0EOV1ZmeC+4svc2fqV6AIiL37dkrxUJAnjywMZcENw=";
30 # Right before the release, upstream decided to replace the
31 # tree-sitter-languages dependency with tree-sitter-make, which is yanked
32 # from some reason. Hopefully upstream will fix this dependency a bit
33 # better in the next release. See also:
34 # https://github.com/Freed-Wu/autotools-language-server/commit/f149843becfcfd6b2bb4a98eb1f3984c01d5fd33#r142659163
36 url = "https://github.com/Freed-Wu/autotools-language-server/commit/f149843becfcfd6b2bb4a98eb1f3984c01d5fd33.patch";
37 hash = "sha256-TrzHbfR6GYAEqDIFiCqSX2+Qv4JeFJ5faiKJhNYojf0=";
43 python3.pkgs.setuptools-generate
44 python3.pkgs.setuptools-scm
47 dependencies = with python3.pkgs; [
52 python3.pkgs.pytestCheckHook
56 description = "Autotools language server, support configure.ac, Makefile.am, Makefile";
57 homepage = "https://github.com/Freed-Wu/autotools-language-server";
58 license = licenses.gpl3Only;
59 maintainers = with maintainers; [ doronbehar ];
60 mainProgram = "autotools-language-server";