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

27 lines
627 B
Nix
Raw Normal View History

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