2023-07-12 15:22:45 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, ncurses, pkg-config, cmake }:
|
2013-03-31 17:40:11 +00:00
|
|
|
|
2014-08-08 12:50:51 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2023-11-19 07:15:48 +00:00
|
|
|
version = "7.1.2";
|
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;
|
2023-11-19 07:15:48 +00:00
|
|
|
sha256 = "sha256-00NZI/KFcgEAkvESnx0KQFW1GvX6FgZLA4Z1Fv2qi+E=";
|
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 = {
|
2023-10-28 13:05:37 +00:00
|
|
|
homepage = "https://github.com/folkertvanheusden/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;
|
2023-10-28 13:05:37 +00:00
|
|
|
license = lib.licenses.asl20;
|
2013-03-31 17:40:11 +00:00
|
|
|
};
|
|
|
|
}
|