about summary refs log tree commit diff
path: root/pkgs/development/python-modules/mccabe/default.nix
blob: 5de63b1888acdadea54571e8b848d428280c9a54 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, hypothesis
, hypothesmith
, python
}:

buildPythonPackage rec {
  pname = "mccabe";
  version = "0.7.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-NI4CQMM7YLvfTlIxku+RnyjLLD19XHeU90AJKQ8jYyU=";
  };

  buildInputs = [
    pytest
  ];

  # https://github.com/PyCQA/mccabe/issues/93
  doCheck = false;

  meta = with lib; {
    description = "McCabe checker, plugin for flake8";
    homepage = "https://github.com/flintwork/mccabe";
    license = licenses.mit;
    maintainers = with maintainers; [ ];
  };
}