2017-05-11 21:56:43 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, isPyPy, unittest2 }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyflakes";
|
2018-07-22 11:17:18 +01:00
|
|
|
version = "2.0.0";
|
2017-05-11 21:56:43 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-07-22 11:17:18 +01:00
|
|
|
sha256 = "9a7662ec724d0120012f6e29d6248ae3727d821bba522a0e6b356eff19126a49";
|
2017-05-11 21:56:43 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ unittest2 ];
|
|
|
|
|
2018-11-05 13:33:13 +00:00
|
|
|
# https://github.com/PyCQA/pyflakes/issues/386
|
|
|
|
doCheck = false;
|
2017-05-11 21:56:43 +01:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|