revision
This commit is contained in:
parent
4dde1f09d0
commit
eec11cfdbe
1 changed files with 46 additions and 32 deletions
|
|
@ -1,6 +1,20 @@
|
||||||
{ lib, python311Packages, fetchFromGitHub }:
|
{
|
||||||
|
lib,
|
||||||
python311Packages.buildPythonPackage rec {
|
python311Packages,
|
||||||
|
fetchFromGitHub,
|
||||||
|
}: let
|
||||||
|
cusPydantic = python311Packages.pydantic.overridePythonAttrs (oldAttrs: rec {
|
||||||
|
version = "1.10.18";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "pydantic";
|
||||||
|
repo = "pydantic";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "PiYl6hcpzJoKF/rssCunF6xuCHLWfgZUQxD2wkAbLH4=";
|
||||||
|
};
|
||||||
|
doCheck = false;
|
||||||
|
});
|
||||||
|
in
|
||||||
|
python311Packages.buildPythonPackage rec {
|
||||||
pname = "nginx-language-server";
|
pname = "nginx-language-server";
|
||||||
version = "0.8.0";
|
version = "0.8.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
@ -16,17 +30,17 @@ python311Packages.buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
propagatedBuildInputs = with python311Packages; [
|
propagatedBuildInputs = with python311Packages; [
|
||||||
pygls
|
pygls
|
||||||
|
cusPydantic
|
||||||
crossplane
|
crossplane
|
||||||
pydantic
|
|
||||||
lsprotocol
|
lsprotocol
|
||||||
];
|
];
|
||||||
pythonImportsCheck = [ "nginx_language_server" ];
|
pythonImportsCheck = ["nginx_language_server"];
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A language server for nginx";
|
description = "A language server for nginx";
|
||||||
homepage = "https://github.com/pappasam/nginx-language-server";
|
homepage = "https://github.com/pappasam/nginx-language-server";
|
||||||
license = licenses.gpl3Only;
|
license = licenses.gpl3Only;
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
maintainers = with maintainers; [ "Cobray" ];
|
maintainers = with maintainers; ["Cobray"];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue