Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / flake8-bugbear / default.nix
blobf2455cf2161f0a42383951b6adaadf2adec82d9a
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 = "23.9.16";
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-fGrefEoyEgJE3danv9hG+Os79ixPzurEzLc3Dnj2M3k=";
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   };