2020-11-11 02:21:15 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, unittest2 }:
|
2017-05-11 20:56:43 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyflakes";
|
2020-06-06 06:47:24 +00:00
|
|
|
version = "2.2.0";
|
2017-05-11 20:56:43 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 06:47:24 +00:00
|
|
|
sha256 = "35b2d75ee967ea93b55750aa9edbbf72813e06a66ba54438df2cfac9e3c27fc8";
|
2017-05-11 20:56:43 +00:00
|
|
|
};
|
|
|
|
|
2019-02-14 10:05:51 +00:00
|
|
|
checkInputs = [ unittest2 ];
|
2017-05-11 20:56:43 +00:00
|
|
|
|
2020-11-11 02:21:15 +00:00
|
|
|
# some tests are output dependent, which have changed slightly
|
|
|
|
doCheck = pythonOlder "3.9";
|
|
|
|
|
2017-05-11 20:56:43 +00:00
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://launchpad.net/pyflakes";
|
2017-05-11 20:56:43 +00:00
|
|
|
description = "A simple program which checks Python source files for errors";
|
|
|
|
license = licenses.mit;
|
2019-07-03 09:27:39 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2017-05-11 20:56:43 +00:00
|
|
|
};
|
|
|
|
}
|