at master 829 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6}: 7 8buildPythonPackage rec { 9 pname = "astor"; 10 version = "0.8.1"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "0ppscdzzvxpznclkmhhj53iz314x3pfv4yc7c6gwxqgljgdgyvka"; 16 }; 17 18 # disable tests broken with python3.6: https://github.com/berkerpeksag/astor/issues/89 19 nativeCheckInputs = [ pytestCheckHook ]; 20 21 disabledTests = [ 22 # https://github.com/berkerpeksag/astor/issues/196 23 "test_convert_stdlib" 24 # https://github.com/berkerpeksag/astor/issues/212 25 "test_huge_int" 26 ]; 27 28 meta = with lib; { 29 description = "Library for reading, writing and rewriting python AST"; 30 homepage = "https://github.com/berkerpeksag/astor"; 31 license = licenses.bsd3; 32 maintainers = with maintainers; [ nixy ]; 33 }; 34}