blob: 2dea4630c57504a20fe8780e9982e1faaed5348c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pyflakes";
version = "3.1.0";
disabled = pythonOlder "3.6";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-oKrgNMRE2wBxqgd5crpHaNQMgw2VOf1Fv0zT+PaZLvw=";
};
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "pyflakes" ];
meta = with lib; {
homepage = "https://github.com/PyCQA/pyflakes";
changelog = "https://github.com/PyCQA/pyflakes/blob/${version}/NEWS.rst";
description = "A simple program which checks Python source files for errors";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}
|