mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
Merge pull request #327630 from GaetanLepage/python-lsp-ruff
python311Packages.python-lsp-ruff: 2.2.1 -> 2.2.2
This commit is contained in:
commit
dfb09b9595
@ -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 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user