cpplint: 1.3.0 -> 1.5.1

This commit is contained in:
Jonathan Ringer 2020-06-15 17:50:53 -07:00
parent 834272d0d6
commit 96d1403e7f

View file

@ -2,20 +2,21 @@
python3Packages.buildPythonApplication rec {
pname = "cpplint";
version = "1.3.0";
version = "1.5.1";
# Fetch from github instead of pypi, since the test cases are not in the pypi archive
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
sha256 = "107v7bp35kxbv9v7wl79h7115z1m4b48rhasp0cnivql1grd277i";
sha256 = "0k927mycj1k4l3fbxrk597bhcjl2nrpaas1imbjgk64cyq8dv7lh";
};
postPatch = ''
patchShebangs cpplint_unittest.py
'';
checkInputs = with python3Packages; [ pytest pytestrunner ];
checkPhase = ''
./cpplint_unittest.py
'';