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