at 24.11-pre 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytoolconfig, 6 pytest-timeout, 7 pytestCheckHook, 8 pythonOlder, 9 setuptools, 10}: 11 12buildPythonPackage rec { 13 pname = "rope"; 14 version = "1.13.0"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.8"; 18 19 src = fetchFromGitHub { 20 owner = "python-rope"; 21 repo = "rope"; 22 rev = "refs/tags/${version}"; 23 hash = "sha256-g/fta5gW/xPs3VaVuLtikfLhqCKyy1AKRnOcOXjQ8bA="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ pytoolconfig ] ++ pytoolconfig.optional-dependencies.global; 29 30 __darwinAllowLocalNetworking = true; 31 32 nativeCheckInputs = [ 33 pytest-timeout 34 pytestCheckHook 35 ]; 36 37 disabledTests = [ 38 "test_search_submodule" 39 "test_get_package_source_pytest" 40 "test_get_modname_folder" 41 ]; 42 43 meta = with lib; { 44 description = "Python refactoring library"; 45 homepage = "https://github.com/python-rope/rope"; 46 changelog = "https://github.com/python-rope/rope/blob/${version}/CHANGELOG.md"; 47 license = licenses.gpl3Plus; 48 maintainers = with maintainers; [ goibhniu ]; 49 }; 50}