2022-02-10 20:34:41 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, attrs
|
|
|
|
, flake8
|
|
|
|
, pytestCheckHook
|
|
|
|
, hypothesis
|
|
|
|
, hypothesmith
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "flake8-bugbear";
|
2022-03-30 09:31:56 +00:00
|
|
|
version = "22.3.23";
|
2022-02-10 20:34:41 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "PyCQA";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-03-30 09:31:56 +00:00
|
|
|
sha256 = "sha256-s1EnPM2He+R+vafu14XI1Xuft8Rg6W3vPH2Atc6N7I0=";
|
2022-02-10 20:34:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
attrs
|
|
|
|
flake8
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
flake8
|
|
|
|
pytestCheckHook
|
|
|
|
hypothesis
|
|
|
|
hypothesmith
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/PyCQA/flake8-bugbear";
|
|
|
|
changelog = "https://github.com/PyCQA/flake8-bugbear/blob/${version}/README.rst#change-log";
|
|
|
|
description = ''
|
|
|
|
A plugin for flake8 finding likely bugs and design problems in your
|
|
|
|
program.
|
|
|
|
'';
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ newam ];
|
|
|
|
};
|
|
|
|
}
|