forked from mirrors/nixpkgs
python3Packages.ruff-lsp: 0.0.31 -> 0.0.32
This commit is contained in:
parent
156dec6cf7
commit
0e12588e4a
|
@ -10,18 +10,19 @@
|
||||||
, typing-extensions
|
, typing-extensions
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, python-lsp-jsonrpc
|
, python-lsp-jsonrpc
|
||||||
|
, pytest-asyncio
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "ruff-lsp";
|
pname = "ruff-lsp";
|
||||||
version = "0.0.31";
|
version = "0.0.32";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit version;
|
inherit version;
|
||||||
pname = "ruff_lsp";
|
pname = "ruff_lsp";
|
||||||
hash = "sha256-cqkHhC0xK6+x82f10V2zW+tn97Nw0QSl+2w1ZBTjg+8=";
|
hash = "sha256-n69Ibm+SFpjEkwPoYAJxVmmgtrRhzWh0PLfRe+iLxdo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -39,10 +40,12 @@ buildPythonPackage rec {
|
||||||
typing-extensions
|
typing-extensions
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# fails in linux sandbox
|
||||||
doCheck = stdenv.isDarwin;
|
doCheck = stdenv.isDarwin;
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
|
pytest-asyncio
|
||||||
python-lsp-jsonrpc
|
python-lsp-jsonrpc
|
||||||
ruff
|
ruff
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue