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