2021-01-15 09:19:50 +00:00
|
|
|
{ lib, 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";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "multitail";
|
2013-03-31 18:40:11 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
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
|
|
|
};
|
|
|
|
|
2020-08-10 13:41:25 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
|
|
|
buildInputs = [ ncurses ];
|
2013-03-31 18:40:11 +01:00
|
|
|
|
2021-01-15 09:19:50 +00:00
|
|
|
makeFlags = lib.optionals stdenv.isDarwin [ "-f" "makefile.macosx" ];
|
2014-04-15 09:33:26 +01:00
|
|
|
|
2013-03-31 18:40:11 +01:00
|
|
|
installPhase = ''
|
2014-06-30 13:56:10 +01:00
|
|
|
mkdir -p $out/bin
|
2013-03-31 18:40:11 +01:00
|
|
|
cp multitail $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.vanheusden.com/multitail/";
|
2013-03-31 18:40:11 +01:00
|
|
|
description = "tail on Steroids";
|
2021-01-15 09:19:50 +00:00
|
|
|
maintainers = with lib.maintainers; [ matthiasbeyer ];
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
license = lib.licenses.gpl2Plus;
|
2013-03-31 18:40:11 +01:00
|
|
|
};
|
|
|
|
}
|