summary refs log tree commit diff
path: root/pkgs/development/tools/build-managers/colormake/default.nix
blob: 7eed88069557a098eafdd4db3e0d42dd7f0fb866 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ stdenv, fetchFromGitHub, perl }:

stdenv.mkDerivation {
  pname = "colormake";
  version = "2.1.0";

  buildInputs = [ perl ];

  src = fetchFromGitHub {
    owner = "pagekite";
    repo = "Colormake";
    rev = "66544f40d";
    sha256 = "8e714c5540305d169989d9387dbac47b8b9fb2cfb424af7bcd412bfe684dc6d7";
  };

  installPhase = ''
    mkdir -p $out/bin
    cp -fa colormake.pl colormake colormake-short clmake clmake-short $out/bin
  '';

  meta = with stdenv.lib; {
    description = "Simple wrapper around make to colorize the output";
    homepage = "https://bre.klaki.net/programs/colormake/";
    license = licenses.gpl2;
    platforms = platforms.unix;
    maintainers = with maintainers; [ bhipple ];
  };
}