2023-07-15 17:15:38 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, ncurses, pkg-config, cmake }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "7.1.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "multitail";
|
|
|
|
|
2022-09-30 11:47:45 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "folkertvanheusden";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2024-01-02 11:29:13 +00:00
|
|
|
sha256 = "sha256-00NZI/KFcgEAkvESnx0KQFW1GvX6FgZLA4Z1Fv2qi+E=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-09-30 11:47:45 +00:00
|
|
|
nativeBuildInputs = [ pkg-config cmake ];
|
2020-08-20 17:08:02 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
2022-09-30 11:47:45 +00:00
|
|
|
cp bin/multitail $out/bin
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
2022-09-30 11:47:45 +00:00
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = {
|
2023-11-16 04:20:00 +00:00
|
|
|
homepage = "https://github.com/folkertvanheusden/multitail";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "tail on Steroids";
|
2021-01-15 22:18:51 +00:00
|
|
|
maintainers = with lib.maintainers; [ matthiasbeyer ];
|
|
|
|
platforms = lib.platforms.unix;
|
2023-11-16 04:20:00 +00:00
|
|
|
license = lib.licenses.asl20;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "multitail";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|