3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #238529 from kalekseev/ruff-lsp

python3Packages.ruff-lsp: 0.0.31 -> 0.0.32
This commit is contained in:
Weijia Wang 2023-06-20 03:14:09 +03:00 committed by GitHub
commit d984f28210
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,18 +10,19 @@
, typing-extensions
, pytestCheckHook
, python-lsp-jsonrpc
, pytest-asyncio
}:
buildPythonPackage rec {
pname = "ruff-lsp";
version = "0.0.31";
version = "0.0.32";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit version;
pname = "ruff_lsp";
hash = "sha256-cqkHhC0xK6+x82f10V2zW+tn97Nw0QSl+2w1ZBTjg+8=";
hash = "sha256-n69Ibm+SFpjEkwPoYAJxVmmgtrRhzWh0PLfRe+iLxdo=";
};
postPatch = ''
@ -39,10 +40,12 @@ buildPythonPackage rec {
typing-extensions
];
# fails in linux sandbox
doCheck = stdenv.isDarwin;
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
python-lsp-jsonrpc
ruff
];