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

View file

@ -1,5 +1,19 @@
{ lib, python311Packages, fetchFromGitHub }:
{
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";
@ -16,8 +30,8 @@ python311Packages.buildPythonPackage rec {
];
propagatedBuildInputs = with python311Packages; [
pygls
cusPydantic
crossplane
pydantic
lsprotocol
];
pythonImportsCheck = ["nginx_language_server"];