This commit is contained in:
alsaiduq-lab 2025-03-30 03:53:04 -06:00
parent 4dde1f09d0
commit eec11cfdbe

View file

@ -1,32 +1,46 @@
{ lib, python311Packages, fetchFromGitHub }: {
lib,
python311Packages.buildPythonPackage rec { python311Packages,
pname = "nginx-language-server"; fetchFromGitHub,
version = "0.8.0"; }: let
format = "pyproject"; cusPydantic = python311Packages.pydantic.overridePythonAttrs (oldAttrs: rec {
src = fetchFromGitHub { version = "1.10.18";
owner = "pappasam"; src = fetchFromGitHub {
repo = "nginx-language-server"; owner = "pydantic";
rev = "v${version}"; repo = "pydantic";
sha256 = "AXWrNt4f3jkAbidE1goDgFicu4sSBv08f/Igyh2bRII="; rev = "v${version}";
}; sha256 = "PiYl6hcpzJoKF/rssCunF6xuCHLWfgZUQxD2wkAbLH4=";
nativeBuildInputs = with python311Packages; [ };
setuptools doCheck = false;
poetry-core });
]; in
propagatedBuildInputs = with python311Packages; [ python311Packages.buildPythonPackage rec {
pygls pname = "nginx-language-server";
crossplane version = "0.8.0";
pydantic format = "pyproject";
lsprotocol src = fetchFromGitHub {
]; owner = "pappasam";
pythonImportsCheck = [ "nginx_language_server" ]; repo = "nginx-language-server";
doCheck = false; rev = "v${version}";
meta = with lib; { sha256 = "AXWrNt4f3jkAbidE1goDgFicu4sSBv08f/Igyh2bRII=";
description = "A language server for nginx"; };
homepage = "https://github.com/pappasam/nginx-language-server"; nativeBuildInputs = with python311Packages; [
license = licenses.gpl3Only; setuptools
platforms = platforms.all; poetry-core
maintainers = with maintainers; [ "Cobray" ]; ];
}; propagatedBuildInputs = with python311Packages; [
} pygls
cusPydantic
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"];
};
}