From b2009235f917daccb2b051c93a4824f005ef9b9c Mon Sep 17 00:00:00 2001 From: Leah Amelia Chen Date: Wed, 12 Jun 2024 09:50:03 +0200 Subject: [PATCH] colorgrind: init at 0-unstable-2016-07-05 --- pkgs/by-name/co/colorgrind/package.nix | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pkgs/by-name/co/colorgrind/package.nix diff --git a/pkgs/by-name/co/colorgrind/package.nix b/pkgs/by-name/co/colorgrind/package.nix new file mode 100644 index 000000000000..1f89ad865583 --- /dev/null +++ b/pkgs/by-name/co/colorgrind/package.nix @@ -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"; + }; +}