2017-05-11 21:56:43 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, isPyPy, unittest2 }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyflakes";
|
2017-10-25 19:04:35 +01:00
|
|
|
version = "1.6.0";
|
2017-05-11 21:56:43 +01:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-10-25 19:04:35 +01:00
|
|
|
sha256 = "8d616a382f243dbf19b54743f280b80198be0bca3a5396f1d2e1fca6223e8805";
|
2017-05-11 21:56:43 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ unittest2 ];
|
|
|
|
|
|
|
|
doCheck = !isPyPy;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://launchpad.net/pyflakes;
|
|
|
|
description = "A simple program which checks Python source files for errors";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ garbas ];
|
|
|
|
};
|
|
|
|
}
|