2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, buildPythonPackage, fetchPypi, pytest, pytestrunner }:
|
2017-05-11 22:02:10 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mccabe";
|
|
|
|
version = "0.6.1";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "07w3p1qm44hgxf3vvwz84kswpsx6s7kvaibzrsx5dzm0hli1i3fx";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pytest pytestrunner ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-05-11 22:02:10 +01:00
|
|
|
description = "McCabe checker, plugin for flake8";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/flintwork/mccabe";
|
2017-05-11 22:02:10 +01:00
|
|
|
license = licenses.mit;
|
2019-07-03 10:27:39 +01:00
|
|
|
maintainers = with maintainers; [ ];
|
2017-05-11 22:02:10 +01:00
|
|
|
};
|
|
|
|
}
|