mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
90fbf71333
Inactive in Nixpkgs since 2018 (and a single PR in 2022). https://github.com/NixOS/nixpkgs/issues?q=author%3Acillianderoiste
51 lines
1.0 KiB
Nix
51 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytoolconfig,
|
|
pytest-timeout,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "rope";
|
|
version = "1.13.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "python-rope";
|
|
repo = "rope";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-g/fta5gW/xPs3VaVuLtikfLhqCKyy1AKRnOcOXjQ8bA=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ pytoolconfig ] ++ pytoolconfig.optional-dependencies.global;
|
|
|
|
__darwinAllowLocalNetworking = true;
|
|
|
|
nativeCheckInputs = [
|
|
pytest-timeout
|
|
pytestCheckHook
|
|
];
|
|
|
|
disabledTests = [
|
|
"test_search_submodule"
|
|
"test_get_package_source_pytest"
|
|
"test_get_modname_folder"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Python refactoring library";
|
|
homepage = "https://github.com/python-rope/rope";
|
|
changelog = "https://github.com/python-rope/rope/blob/${version}/CHANGELOG.md";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = [ ];
|
|
};
|
|
}
|