Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / mccabe / default.nix
blob2a7d2d396f3702fa3b42eb1f6821bd69d590c351
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pytest
5 , hypothesis
6 , hypothesmith
7 , python
8 }:
10 buildPythonPackage rec {
11   pname = "mccabe";
12   version = "0.7.0";
14   src = fetchPypi {
15     inherit pname version;
16     hash = "sha256-NI4CQMM7YLvfTlIxku+RnyjLLD19XHeU90AJKQ8jYyU=";
17   };
19   buildInputs = [
20     pytest
21   ];
23   # https://github.com/PyCQA/mccabe/issues/93
24   doCheck = false;
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   };