2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchFromGitHub, python3Packages }:
|
2018-10-30 19:15:33 +00:00
|
|
|
|
|
|
|
with python3Packages;
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
2019-08-09 10:32:20 +01:00
|
|
|
pname = "cppclean";
|
|
|
|
version = "0.13";
|
2018-10-30 19:15:33 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "myint";
|
|
|
|
repo = "cppclean";
|
2019-08-09 10:32:20 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "081bw7kkl7mh3vwyrmdfrk3fgq8k5laacx7hz8fjpchrvdrkqph0";
|
2018-10-30 19:15:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
postUnpack = ''
|
|
|
|
patchShebangs .
|
|
|
|
'';
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
./test.bash
|
|
|
|
'';
|
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2018-10-30 19:15:33 +00:00
|
|
|
description = "Finds problems in C++ source that slow development of large code bases";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/myint/cppclean";
|
2018-10-30 19:15:33 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ nthorne ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|