depot/third_party/nixpkgs/pkgs/development/python-modules/flake8-bugbear/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

44 lines
865 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, attrs
, flake8
, pytestCheckHook
, hypothesis
, hypothesmith
}:
buildPythonPackage rec {
pname = "flake8-bugbear";
version = "22.1.11";
src = fetchFromGitHub {
owner = "PyCQA";
repo = pname;
rev = version;
sha256 = "sha256-sTg69Hgvi77wtLWEH4JtcIAMFk7exr5CBXmyS0nE5Vc=";
};
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 ];
};
}