depot/third_party/nixpkgs/pkgs/development/python-modules/mccabe/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

32 lines
584 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytest
, hypothesis
, hypothesmith
, python
}:
buildPythonPackage rec {
pname = "mccabe";
version = "0.7.0";
src = fetchPypi {
inherit pname version;
sha256 = "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; [ ];
};
}