depot/third_party/nixpkgs/pkgs/tools/misc/multitail/default.nix
Default email 98eb3e9ef5 Project import generated by Copybara.
GitOrigin-RevId: 00d80d13810dbfea8ab4ed1009b09100cca86ba8
2024-07-01 15:47:52 +00:00

33 lines
775 B
Nix

{ lib, stdenv, fetchFromGitHub, ncurses, pkg-config, cmake }:
stdenv.mkDerivation rec {
version = "7.1.3";
pname = "multitail";
src = fetchFromGitHub {
owner = "folkertvanheusden";
repo = pname;
rev = version;
sha256 = "sha256-4iAFxDAS3gthYPECzyFj0AKzIGwZ9hTJ96fCnQGLbXU=";
};
nativeBuildInputs = [ pkg-config cmake ];
buildInputs = [ ncurses ];
installPhase = ''
mkdir -p $out/bin
cp bin/multitail $out/bin
'';
hardeningDisable = [ "format" ];
meta = {
homepage = "https://github.com/folkertvanheusden/multitail";
description = "tail on Steroids";
maintainers = with lib.maintainers; [ matthiasbeyer ];
platforms = lib.platforms.unix;
license = lib.licenses.asl20;
mainProgram = "multitail";
};
}