1{ stdenv, buildPythonPackage, fetchPypi, pythonAtLeast, nose }:
2
3buildPythonPackage rec {
4 pname = "rope";
5 version = "0.17.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "658ad6705f43dcf3d6df379da9486529cf30e02d9ea14c5682aa80eb33b649e1";
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}