1{ stdenv, buildPythonPackage, fetchPypi, nose }:
2
3buildPythonPackage rec {
4 pname = "rope";
5 version = "0.12.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "031eb54b3eeec89f4304ede816995ed2b93a21e6fba16bd02aff10a0d6c257b7";
10 };
11
12 checkInputs = [ nose ];
13 checkPhase = ''
14 # tracked upstream here https://github.com/python-rope/rope/issues/247
15 NOSE_IGNORE_FILES=type_hinting_test.py nosetests ropetest
16 '';
17
18 meta = with stdenv.lib; {
19 description = "Python refactoring library";
20 homepage = https://github.com/python-rope/rope;
21 maintainers = with maintainers; [ goibhniu ];
22 license = licenses.gpl2;
23 };
24}