nixpkgs/pkgs/development/tools/cppclean/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
698 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, python3Packages }:
with python3Packages;
buildPythonApplication rec {
2019-08-09 09:32:20 +00:00
pname = "cppclean";
version = "0.13";
src = fetchFromGitHub {
owner = "myint";
repo = "cppclean";
2019-08-09 09:32:20 +00:00
rev = "v${version}";
sha256 = "081bw7kkl7mh3vwyrmdfrk3fgq8k5laacx7hz8fjpchrvdrkqph0";
};
postUnpack = ''
patchShebangs .
'';
checkPhase = ''
./test.bash
'';
meta = with 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;
};
}