Merge pull request #327630 from GaetanLepage/python-lsp-ruff

python311Packages.python-lsp-ruff: 2.2.1 -> 2.2.2
This commit is contained in:
Sandro 2024-07-16 15:49:41 +02:00 committed by GitHub
commit dfb09b9595
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,14 +13,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "python-lsp-ruff"; pname = "python-lsp-ruff";
version = "2.2.1"; version = "2.2.2";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
src = fetchPypi { src = fetchPypi {
inherit version; inherit version;
pname = "python_lsp_ruff"; pname = "python_lsp_ruff";
hash = "sha256-C7OiJ7wTboq4xm6Rcz8mc9wV329/yeuZ1CZ9CZGzJ6U="; hash = "sha256-P4C9sLSo7iRiRZahz/YLKMw3dxdzcw+b99lG3f+fDKw=";
}; };
postPatch = '' postPatch = ''
@ -32,7 +32,7 @@ buildPythonPackage rec {
sed -i -e "s|workspace.root_path|'/tmp/'|g" tests/*.py sed -i -e "s|workspace.root_path|'/tmp/'|g" tests/*.py
''; '';
propagatedBuildInputs = [ dependencies = [
cattrs cattrs
lsprotocol lsprotocol
python-lsp-server python-lsp-server
@ -40,11 +40,11 @@ buildPythonPackage rec {
nativeCheckInputs = [ pytestCheckHook ]; nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; { meta = {
homepage = "https://github.com/python-lsp/python-lsp-ruff"; homepage = "https://github.com/python-lsp/python-lsp-ruff";
description = "Ruff linting plugin for pylsp"; description = "Ruff linting plugin for pylsp";
changelog = "https://github.com/python-lsp/python-lsp-ruff/releases/tag/v${version}"; changelog = "https://github.com/python-lsp/python-lsp-ruff/releases/tag/v${version}";
license = licenses.mit; license = lib.licenses.mit;
maintainers = with maintainers; [ linsui ]; maintainers = with lib.maintainers; [ linsui ];
}; };
} }