Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pyflakes / default.nix
blob2da0f2698685ade0894eec8b67ea4de66ecd85bf
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , fetchPypi
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "pyflakes";
10   version = "3.1.0";
12   disabled = pythonOlder "3.8";
14   format = "setuptools";
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-oKrgNMRE2wBxqgd5crpHaNQMgw2VOf1Fv0zT+PaZLvw=";
19   };
21   nativeCheckInputs = [
22     pytestCheckHook
23   ];
25   pythonImportsCheck = [ "pyflakes" ];
27   meta = with lib; {
28     homepage = "https://github.com/PyCQA/pyflakes";
29     changelog = "https://github.com/PyCQA/pyflakes/blob/${version}/NEWS.rst";
30     description = "A simple program which checks Python source files for errors";
31     license = licenses.mit;
32     maintainers = with maintainers; [ dotlambda ];
33   };