summaryrefslogtreecommitdiffstats
path: root/pkgs/development/tools/cppclean
diff options
context:
space:
mode:
authorNiklas Thörne <notrupertthorne@gmail.com>2018-10-30 20:15:33 +0100
committerRenaud <c0bw3b@users.noreply.github.com>2018-10-30 20:15:33 +0100
commitd48cef7d5b8516368b15b4430c473cb63549f20f (patch)
treec54879082934b3d184ddd508ee56164d917019d9 /pkgs/development/tools/cppclean
parent92fcce46412f54d451c834e7fc383a06c5a2936e (diff)
cppclean: init at 2018-05-12 (#49264)
* cppclean: init at 2018-05-12 * Updated according to review comments
Diffstat (limited to 'pkgs/development/tools/cppclean')
-rw-r--r--pkgs/development/tools/cppclean/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/tools/cppclean/default.nix b/pkgs/development/tools/cppclean/default.nix
new file mode 100644
index 000000000000..96fe07a7799a
--- /dev/null
+++ b/pkgs/development/tools/cppclean/default.nix
@@ -0,0 +1,31 @@
+{ stdenv, lib, fetchFromGitHub, python3Packages }:
+
+with python3Packages;
+
+buildPythonApplication rec {
+ name = "cppclean-unstable-${version}";
+ version = "2018-05-12";
+
+ src = fetchFromGitHub {
+ owner = "myint";
+ repo = "cppclean";
+ rev = "e7da41eca5e1fd2bd1dddd6655e50128bb96dc28";
+ sha256 = "0pymh6r7y19bwcypfkmgwyixrx36pmz338jd83yrjflsbjlriqm4";
+ };
+
+ postUnpack = ''
+ patchShebangs .
+ '';
+
+ checkPhase = ''
+ ./test.bash
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Finds problems in C++ source that slow development of large code bases";
+ homepage = https://github.com/myint/cppclean;
+ license = licenses.asl20;
+ maintainers = with maintainers; [ nthorne ];
+ platforms = platforms.linux;
+ };
+}