Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / rope / default.nix
blobe027b1922ec9c39063b81bc7adc111addccf3712
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytoolconfig
5 , pytest-timeout
6 , pytestCheckHook
7 , pythonOlder
8 , setuptools
9 }:
11 buildPythonPackage rec {
12   pname = "rope";
13   version = "1.13.0";
14   pyproject = true;
16   disabled = pythonOlder "3.8";
18   src = fetchFromGitHub {
19     owner = "python-rope";
20     repo = "rope";
21     rev = "refs/tags/${version}";
22     hash = "sha256-g/fta5gW/xPs3VaVuLtikfLhqCKyy1AKRnOcOXjQ8bA=";
23   };
25   build-system = [
26     setuptools
27   ];
29   dependencies = [
30     pytoolconfig
31   ] ++ pytoolconfig.optional-dependencies.global;
33   __darwinAllowLocalNetworking = true;
35   nativeCheckInputs = [
36     pytest-timeout
37     pytestCheckHook
38   ];
40   disabledTests = [
41     "test_search_submodule"
42     "test_get_package_source_pytest"
43     "test_get_modname_folder"
44   ];
46   meta = with lib; {
47     description = "Python refactoring library";
48     homepage = "https://github.com/python-rope/rope";
49     changelog = "https://github.com/python-rope/rope/blob/${version}/CHANGELOG.md";
50     license = licenses.gpl3Plus;
51     maintainers = with maintainers; [ goibhniu ];
52   };