nixpkgs/pkgs/development/python-modules/pytest-flake8/default.nix
R. Ryantm f8a4abdc2e
python312Packages.pytest-flake8: 1.2.2 -> 1.3.0
Co-authored-by: R. RyanTM <ryantm-bot@ryantm.com>
2024-11-09 19:03:03 -08:00

39 lines
880 B
Nix

{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
setuptools-scm,
flake8,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pytest-flake8";
version = "1.3.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "coherent-oss";
repo = "pytest-flake8";
rev = "refs/tags/v${version}";
hash = "sha256-uc5DOqqdoLfhzI2ogDOqhbJOHzdu+uqSOojIH+S1LZI=";
};
build-system = [ setuptools-scm ];
dependencies = [ flake8 ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
changelog = "https://github.com/coherent-oss/pytest-flake8/blob/${src.rev}/NEWS.rst";
description = "py.test plugin for efficiently checking PEP8 compliance";
homepage = "https://github.com/coherent-oss/pytest-flake8";
maintainers = with lib.maintainers; [ jluttine ];
license = lib.licenses.bsd2;
};
}