1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytest
5, hypothesis
6, hypothesmith
7, python
8}:
9
10buildPythonPackage rec {
11 pname = "mccabe";
12 version = "0.7.0";
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-NI4CQMM7YLvfTlIxku+RnyjLLD19XHeU90AJKQ8jYyU=";
17 };
18
19 buildInputs = [
20 pytest
21 ];
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 = with maintainers; [ ];
31 };
32}