depot/third_party/nixpkgs/pkgs/development/python-modules/mccabe/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

29 lines
552 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytest,
}:
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 = [ ];
};
}