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

28 lines
670 B
Nix
Raw Normal View History

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