1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pytest,
6 hypothesis,
7 hypothesmith,
8 python,
9}:
10
11buildPythonPackage rec {
12 pname = "mccabe";
13 version = "0.7.0";
14 format = "setuptools";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-NI4CQMM7YLvfTlIxku+RnyjLLD19XHeU90AJKQ8jYyU=";
19 };
20
21 buildInputs = [ pytest ];
22
23 # https://github.com/PyCQA/mccabe/issues/93
24 doCheck = false;
25
26 meta = with lib; {
27 description = "McCabe checker, plugin for flake8";
28 homepage = "https://github.com/flintwork/mccabe";
29 license = licenses.mit;
30 maintainers = [ ];
31 };
32}