depot/third_party/nixpkgs/pkgs/development/python-modules/pyflakes/default.nix
Default email a66bca1520 Project import generated by Copybara.
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
2022-12-17 11:02:37 +01:00

34 lines
725 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pyflakes";
version = "3.0.1";
disabled = pythonOlder "3.6";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-7IsnamtgvYDe/tJa3X5DmIHBnmSFCv2bNGKD1BZf0P0=";
};
checkInputs = [
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 ];
};
}