2020-02-21 02:51:16 +01:00
|
|
|
{ stdenv, fetchurl, ncurses, pkg-config }:
|
2013-03-31 19:40:11 +02:00
|
|
|
|
2014-08-08 14:50:51 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2019-11-28 10:47:43 +01:00
|
|
|
version = "6.5.0";
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "multitail";
|
2013-03-31 19:40:11 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "https://www.vanheusden.com/multitail/${pname}-${version}.tgz";
|
2019-11-28 10:47:43 +01:00
|
|
|
sha256 = "1vd9vdxyxsccl64ilx542ya5vlw2bpg6gnkq1x8cfqy6vxvmx7dj";
|
2013-03-31 19:40:11 +02:00
|
|
|
};
|
|
|
|
|
2020-08-10 14:41:25 +02:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
|
|
|
buildInputs = [ ncurses ];
|
2013-03-31 19:40:11 +02:00
|
|
|
|
2019-10-29 23:21:22 +01:00
|
|
|
makeFlags = stdenv.lib.optionals stdenv.isDarwin [ "-f" "makefile.macosx" ];
|
2014-04-15 10:33:26 +02:00
|
|
|
|
2013-03-31 19:40:11 +02:00
|
|
|
installPhase = ''
|
2014-06-30 14:56:10 +02:00
|
|
|
mkdir -p $out/bin
|
2013-03-31 19:40:11 +02:00
|
|
|
cp multitail $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://www.vanheusden.com/multitail/";
|
2013-03-31 19:40:11 +02:00
|
|
|
description = "tail on Steroids";
|
2019-02-20 19:52:48 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ matthiasbeyer ];
|
2016-05-25 20:40:41 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2018-08-06 12:41:40 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2013-03-31 19:40:11 +02:00
|
|
|
};
|
|
|
|
}
|