2022-09-11 08:44:12 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, fetchpatch, ncurses, pkg-config, cmake }:
|
2013-03-31 17:40:11 +00:00
|
|
|
|
2014-08-08 12:50:51 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2022-09-11 08:44:12 +00:00
|
|
|
version = "7.0.0";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "multitail";
|
2013-03-31 17:40:11 +00:00
|
|
|
|
2022-09-11 08:44:12 +00:00
|
|
|
src = fetchFromGitHub {
|
2022-09-11 08:44:12 +00:00
|
|
|
owner = "folkertvanheusden";
|
2022-09-11 08:44:12 +00:00
|
|
|
repo = pname;
|
2022-09-11 08:44:12 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-AMW55Bmwn0BsD36qGXI5WmEfydrMBob8NRY3Tyq92vA=";
|
2013-03-31 17:40:11 +00:00
|
|
|
};
|
|
|
|
|
2022-09-11 08:44:12 +00:00
|
|
|
nativeBuildInputs = [ pkg-config cmake ];
|
2020-08-10 12:41:25 +00:00
|
|
|
|
|
|
|
buildInputs = [ ncurses ];
|
2013-03-31 17:40:11 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
2014-06-30 12:56:10 +00:00
|
|
|
mkdir -p $out/bin
|
2022-09-11 08:44:12 +00:00
|
|
|
cp bin/multitail $out/bin
|
2013-03-31 17:40:11 +00:00
|
|
|
'';
|
|
|
|
|
2022-09-11 08:44:12 +00:00
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2013-03-31 17:40:11 +00:00
|
|
|
meta = {
|
2021-11-17 08:08:04 +00:00
|
|
|
homepage = "https://github.com/halturin/multitail";
|
2013-03-31 17:40:11 +00: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 17:40:11 +00:00
|
|
|
};
|
|
|
|
}
|