Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 17.09 580 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, isPyPy, unittest2 }: 2 3buildPythonPackage rec { 4 pname = "pyflakes"; 5 version = "1.5.0"; 6 name = "${pname}-${version}"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "1x1pcca4a24k4pw8x1c77sgi58cg1wl2k38mp8a25k608pzls3da"; 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}