at 23.11-beta 1.1 kB view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytoolconfig 5, pytest-timeout 6, pytestCheckHook 7, pythonOlder 8, setuptools 9}: 10 11buildPythonPackage rec { 12 pname = "rope"; 13 version = "1.9.0"; 14 format = "pyproject"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchFromGitHub { 19 owner = "python-rope"; 20 repo = pname; 21 rev = "refs/tags/${version}"; 22 hash = "sha256-j65C3x3anhH23D4kic5j++r/Ft0RqgZ/jFrNrNHVcXA="; 23 }; 24 25 nativeBuildInputs = [ 26 setuptools 27 ]; 28 29 propagatedBuildInputs = [ 30 pytoolconfig 31 ] ++ pytoolconfig.optional-dependencies.global; 32 33 __darwinAllowLocalNetworking = true; 34 35 nativeCheckInputs = [ 36 pytest-timeout 37 pytestCheckHook 38 ]; 39 40 disabledTests = [ 41 "test_search_submodule" 42 "test_get_package_source_pytest" 43 "test_get_modname_folder" 44 ]; 45 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 }; 53}