anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / pylsp-rope / default.nix
blobf1d011d2ef025a6180dbd9f10a0335c854abaf23
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
6   # build-system
7   setuptools,
9   # dependencies
10   rope,
11   python-lsp-server,
13   # tests
14   pytestCheckHook,
17 buildPythonPackage rec {
18   pname = "pylsp-rope";
19   version = "0.1.17";
20   pyproject = true;
22   src = fetchFromGitHub {
23     owner = "python-rope";
24     repo = "pylsp-rope";
25     rev = "refs/tags/${version}";
26     hash = "sha256-gEmSZQZ2rtSljN8USsUiqsP2cr54k6kwvsz8cjam9dU=";
27   };
29   build-system =  [
30     setuptools
31   ];
33   dependencies = [
34     rope
35     python-lsp-server
36   ];
38   pythonImportsCheck = [ "pylsp_rope" ];
40   nativeCheckInputs = [ pytestCheckHook ];
42   meta = {
43     description = "Extended refactoring capabilities for Python LSP Server using Rope";
44     homepage = "https://github.com/python-rope/pylsp-rope";
45     changelog = "https://github.com/python-rope/pylsp-rope/releases/tag/${version}";
46     license = lib.licenses.mit;
47     maintainers = with lib.maintainers; [ GaetanLepage ];
48   };