39 lines
913 B
Nix
39 lines
913 B
Nix
{
|
|
lib,
|
|
python3,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "autotools-language-server";
|
|
version = "0.0.22";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Freed-Wu";
|
|
repo = "autotools-language-server";
|
|
tag = version;
|
|
hash = "sha256-PvaEcdvUE8QpxKuW65RL8SgDl/RM/C3HTEK3v+YA73c=";
|
|
};
|
|
|
|
build-system = [
|
|
python3.pkgs.setuptools-generate
|
|
python3.pkgs.setuptools-scm
|
|
];
|
|
|
|
dependencies = with python3.pkgs; [
|
|
tree-sitter-make
|
|
lsp-tree-sitter
|
|
];
|
|
nativeCheckInputs = [
|
|
python3.pkgs.pytestCheckHook
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Autotools language server, support configure.ac, Makefile.am, Makefile";
|
|
homepage = "https://github.com/Freed-Wu/autotools-language-server";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ doronbehar ];
|
|
mainProgram = "autotools-language-server";
|
|
};
|
|
}
|