biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / cppclean / default.nix
blobd48e21fffb5daeeeebb7fe75aba06f0d3a7c284c
1 { lib, fetchFromGitHub, python3Packages }:
3 with python3Packages;
5 buildPythonApplication rec {
6   pname = "cppclean";
7   version = "0.13";
9   src = fetchFromGitHub {
10     owner  = "myint";
11     repo   = "cppclean";
12     rev    = "v${version}";
13     sha256 = "081bw7kkl7mh3vwyrmdfrk3fgq8k5laacx7hz8fjpchrvdrkqph0";
14   };
16   postUnpack = ''
17     patchShebangs .
18     '';
20   checkPhase = ''
21     ./test.bash
22     '';
24   meta = with lib; {
25     description = "Finds problems in C++ source that slow development of large code bases";
26     mainProgram = "cppclean";
27     homepage    = "https://github.com/myint/cppclean";
28     license     = licenses.asl20;
29     maintainers = with maintainers; [ nthorne ];
30     platforms   = platforms.linux;
31   };