nixpkgs/pkgs/development/python-modules/flake8-bugbear/default.nix
R. RyanTM e05409c5ce
python310Packages.flake8-bugbear: 22.3.23 -> 22.4.25 (#170281)
Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
2022-04-26 01:29:27 +02:00

50 lines
1 KiB
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, attrs
, flake8
, pytestCheckHook
, pythonOlder
, hypothesis
, hypothesmith
}:
buildPythonPackage rec {
pname = "flake8-bugbear";
version = "22.4.25";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "PyCQA";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-y/hpBlIQ3aJj3Y1snpArOCIv2w1ncQNMSYJ+G0CeM84=";
};
propagatedBuildInputs = [
attrs
flake8
];
checkInputs = [
flake8
pytestCheckHook
hypothesis
hypothesmith
];
meta = with lib; {
description = "Plugin for Flake8 to find bugs and design problems";
homepage = "https://github.com/PyCQA/flake8-bugbear";
changelog = "https://github.com/PyCQA/flake8-bugbear/blob/${version}/README.rst#change-log";
longDescription = ''
A plugin for flake8 finding likely bugs and design problems in your
program.
'';
license = licenses.mit;
maintainers = with maintainers; [ newam ];
};
}