cpplint: 2.0.0 -> 2.0.1 (#395471)

This commit is contained in:
Gaétan Lepage 2025-04-02 16:55:03 +02:00 committed by GitHub
commit e23ecefea2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,20 +7,20 @@
python3Packages.buildPythonApplication rec {
pname = "cpplint";
version = "2.0.0";
version = "2.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "cpplint";
repo = "cpplint";
tag = version;
hash = "sha256-076363ZwcriPb+Fn9S5jay8oL+LlBTNh+IqQRCAndRo=";
hash = "sha256-IM1XznnpdL1Piei9kKR1nCwfs7TVgLcTgMI4r+cQXLg=";
};
# We use pytest-cov-stub instead
postPatch = ''
substituteInPlace setup.cfg \
--replace-fail "pytest-cov" "" \
--replace-fail "--cov-fail-under=90 --cov=cpplint" ""
substituteInPlace pyproject.toml \
--replace-fail '"pytest-cov",' ""
'';
build-system = with python3Packages; [
@ -29,12 +29,13 @@ python3Packages.buildPythonApplication rec {
nativeCheckInputs = with python3Packages; [
parameterized
pytestCheckHook
pytest-cov-stub
pytest-timeout
pytestCheckHook
testfixtures
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
meta = {
homepage = "https://github.com/cpplint/cpplint";