updates
This commit is contained in:
parent
026d09a189
commit
8ed99daa24
7 changed files with 117 additions and 56 deletions
37
pkgs/python-nginx-language-server/default.nix
Normal file
37
pkgs/python-nginx-language-server/default.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{ lib, python311Packages, fetchFromGitHub }:
|
||||
|
||||
let
|
||||
customPydantic = python311Packages.pydantic.overridePythonAttrs (oldAttrs: {
|
||||
doCheck = false;
|
||||
});
|
||||
in
|
||||
python311Packages.buildPythonPackage rec {
|
||||
pname = "nginx-language-server";
|
||||
version = "0.8.0";
|
||||
format = "pyproject";
|
||||
src = fetchFromGitHub {
|
||||
owner = "pappasam";
|
||||
repo = "nginx-language-server";
|
||||
rev = "v${version}";
|
||||
sha256 = "AXWrNt4f3jkAbidE1goDgFicu4sSBv08f/Igyh2bRII=";
|
||||
};
|
||||
nativeBuildInputs = with python311Packages; [
|
||||
setuptools
|
||||
poetry-core
|
||||
];
|
||||
propagatedBuildInputs = with python311Packages; [
|
||||
pygls
|
||||
customPydantic
|
||||
crossplane
|
||||
lsprotocol
|
||||
];
|
||||
pythonImportsCheck = [ "nginx_language_server" ];
|
||||
doCheck = false;
|
||||
meta = with lib; {
|
||||
description = "A language server for nginx";
|
||||
homepage = "https://github.com/pappasam/nginx-language-server";
|
||||
license = licenses.gpl3Only;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ "Cobray" ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue