1{ lib
2, buildPythonPackage
3, fetchPypi
4, rope
5, pytestCheckHook
6, python-lsp-server
7, pythonOlder
8}:
9
10buildPythonPackage rec {
11 pname = "pylsp-rope";
12 version = "0.1.11";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-SKrfmT2vpej8oRCLSlQxMUz4C8eM/91WQA6tnEB1U74=";
19 };
20
21 propagatedBuildInputs = [
22 rope
23 python-lsp-server
24 ];
25
26 nativeCheckInputs = [
27 pytestCheckHook
28 ];
29
30 pythonImportsCheck = [
31 "pylsp_rope"
32 ];
33
34 meta = with lib; {
35 description = "Extended refactoring capabilities for Python LSP Server using Rope";
36 homepage = "https://github.com/python-rope/pylsp-rope";
37 license = licenses.mit;
38 maintainers = with maintainers; [ GaetanLepage ];
39 };
40}