mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
Merge pull request #319261 from pluiedev/init/colorgrind
colorgrind: init at 0-unstable-2016-07-05
This commit is contained in:
commit
9fbd4c8b7f
33
pkgs/by-name/co/colorgrind/package.nix
Normal file
33
pkgs/by-name/co/colorgrind/package.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenvNoCC,
|
||||||
|
fetchFromGitHub,
|
||||||
|
perl
|
||||||
|
}:
|
||||||
|
stdenvNoCC.mkDerivation {
|
||||||
|
pname = "colorgrind";
|
||||||
|
version = "0-unstable-2016-07-05";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "renatocf";
|
||||||
|
repo = "colorgrind";
|
||||||
|
rev = "6b68367c9713075a40c6719cb24217e9437ffa74";
|
||||||
|
hash = "sha256-KVR2IeoAkaTXDjEndPvrKUzOf4Zkha20vcH4TTJqXfM=";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ perl ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
install -Dm755 -t $out/bin colorgrind
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Perl wrapper for Valgrind with ANSI escape code colored output";
|
||||||
|
homepage = "http://renatocf.github.io/colorgrind/";
|
||||||
|
license = with lib.licenses; [ mit ];
|
||||||
|
maintainers = with lib.maintainers; [ pluiedev ];
|
||||||
|
mainProgram = "colorgrind";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user