at master 768 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 isPyPy, 6 isPy3k, 7}: 8 9buildPythonPackage rec { 10 pname = "funcsigs"; 11 version = "1.0.2"; 12 format = "setuptools"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "0l4g5818ffyfmfs1a924811azhjj8ax9xd1cffr1mzd3ycn0zfx7"; 17 }; 18 19 # https://github.com/testing-cabal/funcsigs/issues/10 20 patches = lib.optionals (isPyPy && isPy3k) [ ./fix-pypy3-tests.patch ]; 21 22 # requires, unittest2 and package hasn't been maintained since 2013 23 doCheck = false; 24 25 pythonImportsCheck = [ "funcsigs" ]; 26 27 meta = with lib; { 28 description = "Python function signatures from PEP362 for Python 2.6, 2.7 and 3.2+"; 29 homepage = "https://github.com/aliles/funcsigs"; 30 maintainers = [ ]; 31 license = licenses.asl20; 32 }; 33}