1{ stdenv, buildPythonPackage, fetchPypi, isPyPy, unittest2 }: 2 3buildPythonPackage rec { 4 pname = "pyflakes"; 5 version = "2.0.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "9a7662ec724d0120012f6e29d6248ae3727d821bba522a0e6b356eff19126a49"; 10 }; 11 12 buildInputs = [ unittest2 ]; 13 14 doCheck = !isPyPy; 15 16 meta = with stdenv.lib; { 17 homepage = https://launchpad.net/pyflakes; 18 description = "A simple program which checks Python source files for errors"; 19 license = licenses.mit; 20 maintainers = with maintainers; [ garbas ]; 21 }; 22}