tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
0
fork
atom
overview
issues
pulls
pipelines
cpplint: 1.5.1 -> 1.5.5
polygon
4 years ago
33006357
2de4d2ce
+20
-2
2 changed files
expand all
collapse all
unified
split
pkgs
development
tools
analysis
cpplint
0001-Remove-pytest-runner-version-pin.patch
default.nix
+16
pkgs/development/tools/analysis/cpplint/0001-Remove-pytest-runner-version-pin.patch
reviewed
···
1
1
+
diff --git a/setup.py b/setup.py
2
2
+
index aef5c4e..030ea14 100755
3
3
+
--- a/setup.py
4
4
+
+++ b/setup.py
5
5
+
@@ -73,7 +73,7 @@ setup(name='cpplint',
6
6
+
long_description=open('README.rst').read(),
7
7
+
license='BSD-3-Clause',
8
8
+
setup_requires=[
9
9
+
- "pytest-runner==5.2"
10
10
+
+ "pytest-runner"
11
11
+
],
12
12
+
tests_require=test_required,
13
13
+
# extras_require allow pip install .[dev]
14
14
+
--
15
15
+
2.31.1
16
16
+
+4
-2
pkgs/development/tools/analysis/cpplint/default.nix
reviewed
···
2
2
3
3
python3Packages.buildPythonApplication rec {
4
4
pname = "cpplint";
5
5
-
version = "1.5.1";
5
5
+
version = "1.5.5";
6
6
7
7
# Fetch from github instead of pypi, since the test cases are not in the pypi archive
8
8
src = fetchFromGitHub {
9
9
owner = pname;
10
10
repo = pname;
11
11
rev = version;
12
12
-
sha256 = "0k927mycj1k4l3fbxrk597bhcjl2nrpaas1imbjgk64cyq8dv7lh";
12
12
+
sha256 = "sha256-JXz2Ufo7JSceZVqYwCRkuAsOR08znZlIUk8GCLAyiI4=";
13
13
};
14
14
+
15
15
+
patches = [ ./0001-Remove-pytest-runner-version-pin.patch ];
14
16
15
17
postPatch = ''
16
18
patchShebangs cpplint_unittest.py