mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 01:24:47 +00:00
nginx-language-server: init at 0.8.0
This commit is contained in:
parent
40d15ed86d
commit
0d446bea13
44
pkgs/by-name/ng/nginx-language-server/package.nix
Normal file
44
pkgs/by-name/ng/nginx-language-server/package.nix
Normal file
@ -0,0 +1,44 @@
|
||||
{ lib
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "nginx-language-server";
|
||||
version = "0.8.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pappasam";
|
||||
repo = "nginx-language-server";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-AXWrNt4f3jkAbidE1goDgFicu4sSBv08f/Igyh2bRII=";
|
||||
};
|
||||
|
||||
build-system = with python3.pkgs; [
|
||||
poetry-core
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"pydantic"
|
||||
];
|
||||
|
||||
dependencies = with python3.pkgs; [
|
||||
crossplane
|
||||
lsprotocol
|
||||
pydantic
|
||||
pygls
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "nginx_language_server" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Language server for nginx.conf";
|
||||
homepage = "https://github.com/pappasam/nginx-language-server";
|
||||
changelog = "https://github.com/pappasam/nginx-language-server/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ GaetanLepage ];
|
||||
mainProgram = "nginx-language-server";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user