2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, ncurses, pkg-config }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "6.5.0";
|
|
|
|
pname = "multitail";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.vanheusden.com/multitail/${pname}-${version}.tgz";
|
|
|
|
sha256 = "1vd9vdxyxsccl64ilx542ya5vlw2bpg6gnkq1x8cfqy6vxvmx7dj";
|
|
|
|
};
|
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
makeFlags = lib.optionals stdenv.isDarwin [ "-f" "makefile.macosx" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp multitail $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://www.vanheusden.com/multitail/";
|
|
|
|
description = "tail on Steroids";
|
2021-01-15 22:18:51 +00:00
|
|
|
maintainers = with lib.maintainers; [ matthiasbeyer ];
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
license = lib.licenses.gpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|