6 , binSh ? "${bash}/bin/bash"
11 stdenvNoCC.mkDerivation rec {
16 url = "http://software.kimmo.suominen.com/colorless-${version}.tar.gz";
17 sha256 = "039a140fa11cf153cc4d03e4f753b7ff142cab88ff116b7600ccf9edee81927c";
21 "TOOLPATH=${lib.makeBinPath [ coreutils gnused less ]}"
27 mkdir -p $out/bin $out/share/man/man1
31 install -Dm644 -t $out/share/doc/colorless LICENSE README.md
37 homepage = "https://kimmo.suominen.com/sw/colorless";
38 description = "Enable colorised command output and pipe it to less";
40 colorless is a wrapper that enables colorised output of commands and
41 pipes the output to less(1).
43 license = licenses.bsd2;
44 maintainers = with maintainers; [ suominen ];
45 platforms = platforms.unix;
46 mainProgram = "colorless";