nixpkgs/pkgs/tools/misc/multitail/default.nix

28 lines
656 B
Nix
Raw Normal View History

2013-03-31 17:40:11 +00:00
{ stdenv, fetchurl, ncurses }:
2014-08-08 12:50:51 +00:00
stdenv.mkDerivation rec {
version = "6.4.2";
name = "multitail-${version}";
2013-03-31 17:40:11 +00:00
src = fetchurl {
2014-08-08 12:50:51 +00:00
url = "http://www.vanheusden.com/multitail/${name}.tgz";
sha256 = "1zd1r89xkxngl1pdrvsc877838nwkfqkbcgfqm3vglwalxc587dg";
2013-03-31 17:40:11 +00:00
};
buildInputs = [ ncurses ];
2014-04-15 08:33:26 +00:00
makeFlags = stdenv.lib.optionalString stdenv.isDarwin "-f makefile.macosx";
2013-03-31 17:40:11 +00:00
installPhase = ''
mkdir -p $out/bin
2013-03-31 17:40:11 +00:00
cp multitail $out/bin
'';
meta = {
homepage = http://www.vanheusden.com/multitail/;
description = "tail on Steroids";
maintainers = with stdenv.lib.maintainers; [ ];
platforms = stdenv.lib.platforms.unix;
2013-03-31 17:40:11 +00:00
};
}