mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
cppclean: init at 2018-05-12 (#49264)
* cppclean: init at 2018-05-12 * Updated according to review comments
This commit is contained in:
parent
92fcce4641
commit
d48cef7d5b
31
pkgs/development/tools/cppclean/default.nix
Normal file
31
pkgs/development/tools/cppclean/default.nix
Normal file
|
@ -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;
|
||||
};
|
||||
}
|
|
@ -1179,6 +1179,8 @@ with pkgs;
|
|||
|
||||
coursier = callPackage ../development/tools/coursier {};
|
||||
|
||||
cppclean = callPackage ../development/tools/cppclean {};
|
||||
|
||||
cri-tools = callPackage ../tools/virtualization/cri-tools {};
|
||||
|
||||
crip = callPackage ../applications/audio/crip { };
|
||||
|
|
Loading…
Reference in a new issue