mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
7f35140d1c
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
33 lines
750 B
Nix
33 lines
750 B
Nix
{ lib, stdenv, fetchFromGitHub, fetchpatch, ncurses, pkg-config, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "7.0.0";
|
|
pname = "multitail";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "folkertvanheusden";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-AMW55Bmwn0BsD36qGXI5WmEfydrMBob8NRY3Tyq92vA=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config cmake ];
|
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp bin/multitail $out/bin
|
|
'';
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/halturin/multitail";
|
|
description = "tail on Steroids";
|
|
maintainers = with lib.maintainers; [ matthiasbeyer ];
|
|
platforms = lib.platforms.unix;
|
|
license = lib.licenses.gpl2Plus;
|
|
};
|
|
}
|