at 23.11-beta 698 B view raw
1{ lib, fetchFromGitHub, python3Packages }: 2 3with python3Packages; 4 5buildPythonApplication rec { 6 pname = "cppclean"; 7 version = "0.13"; 8 9 src = fetchFromGitHub { 10 owner = "myint"; 11 repo = "cppclean"; 12 rev = "v${version}"; 13 sha256 = "081bw7kkl7mh3vwyrmdfrk3fgq8k5laacx7hz8fjpchrvdrkqph0"; 14 }; 15 16 postUnpack = '' 17 patchShebangs . 18 ''; 19 20 checkPhase = '' 21 ./test.bash 22 ''; 23 24 meta = with lib; { 25 description = "Finds problems in C++ source that slow development of large code bases"; 26 homepage = "https://github.com/myint/cppclean"; 27 license = licenses.asl20; 28 maintainers = with maintainers; [ nthorne ]; 29 platforms = platforms.linux; 30 }; 31}