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 }:
|
||||
|
||||
python311Packages.buildPythonPackage rec {
|
||||
{
|
||||
lib,
|
||||
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";
|
||||
version = "0.8.0";
|
||||
format = "pyproject";
|
||||
|
|
@ -16,17 +30,17 @@ python311Packages.buildPythonPackage rec {
|
|||
];
|
||||
propagatedBuildInputs = with python311Packages; [
|
||||
pygls
|
||||
cusPydantic
|
||||
crossplane
|
||||
pydantic
|
||||
lsprotocol
|
||||
];
|
||||
pythonImportsCheck = [ "nginx_language_server" ];
|
||||
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" ];
|
||||
maintainers = with maintainers; ["Cobray"];
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue