Unverified Commit dfb09b95 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

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

python311Packages.python-lsp-ruff: 2.2.1 -> 2.2.2
parents f84a3464 b0b0285c
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -13,14 +13,14 @@

buildPythonPackage rec {
  pname = "python-lsp-ruff";
  version = "2.2.1";
  version = "2.2.2";
  pyproject = true;
  disabled = pythonOlder "3.8";

  src = fetchPypi {
    inherit version;
    pname = "python_lsp_ruff";
    hash = "sha256-C7OiJ7wTboq4xm6Rcz8mc9wV329/yeuZ1CZ9CZGzJ6U=";
    hash = "sha256-P4C9sLSo7iRiRZahz/YLKMw3dxdzcw+b99lG3f+fDKw=";
  };

  postPatch = ''
@@ -32,7 +32,7 @@ buildPythonPackage rec {
    sed -i -e "s|workspace.root_path|'/tmp/'|g" tests/*.py
  '';

  propagatedBuildInputs = [
  dependencies = [
    cattrs
    lsprotocol
    python-lsp-server
@@ -40,11 +40,11 @@ buildPythonPackage rec {

  nativeCheckInputs = [ pytestCheckHook ];

  meta = with lib; {
  meta = {
    homepage = "https://github.com/python-lsp/python-lsp-ruff";
    description = "Ruff linting plugin for pylsp";
    changelog = "https://github.com/python-lsp/python-lsp-ruff/releases/tag/v${version}";
    license = licenses.mit;
    maintainers = with maintainers; [ linsui ];
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ linsui ];
  };
}