mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 19:44:09 +00:00
cpplint: 1.5.1 -> 1.5.5
This commit is contained in:
parent
2de4d2ce89
commit
33006357d1
@ -0,0 +1,16 @@
|
|||||||
|
diff --git a/setup.py b/setup.py
|
||||||
|
index aef5c4e..030ea14 100755
|
||||||
|
--- a/setup.py
|
||||||
|
+++ b/setup.py
|
||||||
|
@@ -73,7 +73,7 @@ setup(name='cpplint',
|
||||||
|
long_description=open('README.rst').read(),
|
||||||
|
license='BSD-3-Clause',
|
||||||
|
setup_requires=[
|
||||||
|
- "pytest-runner==5.2"
|
||||||
|
+ "pytest-runner"
|
||||||
|
],
|
||||||
|
tests_require=test_required,
|
||||||
|
# extras_require allow pip install .[dev]
|
||||||
|
--
|
||||||
|
2.31.1
|
||||||
|
|
@ -2,16 +2,18 @@
|
|||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "cpplint";
|
pname = "cpplint";
|
||||||
version = "1.5.1";
|
version = "1.5.5";
|
||||||
|
|
||||||
# Fetch from github instead of pypi, since the test cases are not in the pypi archive
|
# Fetch from github instead of pypi, since the test cases are not in the pypi archive
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = pname;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0k927mycj1k4l3fbxrk597bhcjl2nrpaas1imbjgk64cyq8dv7lh";
|
sha256 = "sha256-JXz2Ufo7JSceZVqYwCRkuAsOR08znZlIUk8GCLAyiI4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [ ./0001-Remove-pytest-runner-version-pin.patch ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs cpplint_unittest.py
|
patchShebangs cpplint_unittest.py
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user