Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / flake8-bugbear / default.nix
blob75af6d9b9757dd68db7cd78adf2eb11b781877ba
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , attrs
5 , flake8
6 , pytestCheckHook
7 , pythonOlder
8 , hypothesis
9 , hypothesmith
12 buildPythonPackage rec {
13   pname = "flake8-bugbear";
14   version = "24.4.21";
15   format = "setuptools";
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "PyCQA";
21     repo = pname;
22     rev = "refs/tags/${version}";
23     hash = "sha256-6jKVKVJuNpdKLzl2dTkr1cvArGWCWvuhyjww05r9W/c=";
24   };
26   propagatedBuildInputs = [
27     attrs
28     flake8
29   ];
31   nativeCheckInputs = [
32     flake8
33     pytestCheckHook
34     hypothesis
35     hypothesmith
36   ];
38   meta = with lib; {
39     description = "Plugin for Flake8 to find bugs and design problems";
40     homepage = "https://github.com/PyCQA/flake8-bugbear";
41     changelog = "https://github.com/PyCQA/flake8-bugbear/blob/${version}/README.rst#change-log";
42     longDescription = ''
43       A plugin for flake8 finding likely bugs and design problems in your
44       program.
45     '';
46     license = licenses.mit;
47     maintainers = with maintainers; [ newam ];
48   };