toxic: 0.15.1 -> 0.16.0
[NixPkgs.git] / pkgs / by-name / ng / nginx-language-server / package.nix
blob03ebbd30807c136ca03ba639390c68442d3aea4a
2   lib,
3   python3,
4   fetchFromGitHub,
5 }:
7 python3.pkgs.buildPythonApplication rec {
8   pname = "nginx-language-server";
9   version = "0.8.0";
10   pyproject = true;
12   src = fetchFromGitHub {
13     owner = "pappasam";
14     repo = "nginx-language-server";
15     rev = "refs/tags/v${version}";
16     hash = "sha256-AXWrNt4f3jkAbidE1goDgFicu4sSBv08f/Igyh2bRII=";
17   };
19   build-system = with python3.pkgs; [
20     poetry-core
21   ];
23   pythonRelaxDeps = [
24     "pydantic"
25   ];
27   dependencies = with python3.pkgs; [
28     crossplane
29     lsprotocol
30     pydantic
31     pygls
32   ];
34   pythonImportsCheck = [ "nginx_language_server" ];
36   meta = with lib; {
37     description = "Language server for nginx.conf";
38     homepage = "https://github.com/pappasam/nginx-language-server";
39     changelog = "https://github.com/pappasam/nginx-language-server/blob/${src.rev}/CHANGELOG.md";
40     license = licenses.gpl3Only;
41     maintainers = with maintainers; [ GaetanLepage ];
42     mainProgram = "nginx-language-server";
43   };