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

29 lines
743 B
Nix
Raw Normal View History

{ stdenv, fetchurl, ncurses, pkg-config }:
2013-03-31 18:40:11 +01:00
2014-08-08 13:50:51 +01:00
stdenv.mkDerivation rec {
2019-11-28 09:47:43 +00:00
version = "6.5.0";
pname = "multitail";
2013-03-31 18:40:11 +01:00
src = fetchurl {
url = "https://www.vanheusden.com/multitail/${pname}-${version}.tgz";
2019-11-28 09:47:43 +00:00
sha256 = "1vd9vdxyxsccl64ilx542ya5vlw2bpg6gnkq1x8cfqy6vxvmx7dj";
2013-03-31 18:40:11 +01:00
};
buildInputs = [ ncurses pkg-config ];
2013-03-31 18:40:11 +01:00
2019-10-29 22:21:22 +00:00
makeFlags = stdenv.lib.optionals stdenv.isDarwin [ "-f" "makefile.macosx" ];
2014-04-15 09:33:26 +01:00
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/";
2013-03-31 18:40:11 +01:00
description = "tail on Steroids";
maintainers = with stdenv.lib.maintainers; [ matthiasbeyer ];
platforms = stdenv.lib.platforms.unix;
license = stdenv.lib.licenses.gpl2Plus;
2013-03-31 18:40:11 +01:00
};
}