revision
This commit is contained in:
parent
4dde1f09d0
commit
eec11cfdbe
1 changed files with 46 additions and 32 deletions
|
|
@ -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 {
|
python311Packages.buildPythonPackage rec {
|
||||||
pname = "nginx-language-server";
|
pname = "nginx-language-server";
|
||||||
version = "0.8.0";
|
version = "0.8.0";
|
||||||
|
|
@ -16,8 +30,8 @@ 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"];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue