nixpkgs/pkgs/tools/misc/multitail/default.nix
Matthias Beyer fe87f6ee53
multitail: 6.5.0 -> 6.5.2
This patch also moves to use the github fork of multitail, which seems
to be the maintained version of the project now.

This update removes the need for patches.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-09-11 10:44:12 +02:00

33 lines
767 B
Nix

{ lib, stdenv, fetchFromGitHub, fetchpatch, ncurses, pkg-config }:
stdenv.mkDerivation rec {
version = "6.5.2";
pname = "multitail";
src = fetchFromGitHub {
owner = "halturin";
repo = pname;
rev = "v${version}";
sha256 = "sha256-DMYcoHOaX4bToDE8qpXmg5tbTYGkiwtPJd0/qy4uD54=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ ncurses ];
makeFlags = lib.optionals stdenv.isDarwin [ "-f" "makefile.macosx" ];
installPhase = ''
mkdir -p $out/bin
cp multitail $out/bin
'';
meta = {
homepage = "https://github.com/halturin/multitail";
description = "tail on Steroids";
maintainers = with lib.maintainers; [ matthiasbeyer ];
platforms = lib.platforms.unix;
license = lib.licenses.gpl2Plus;
};
}