mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
29 lines
720 B
Nix
29 lines
720 B
Nix
{ stdenv, fetchurl, ncurses }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "6.5.0";
|
|
pname = "multitail";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.vanheusden.com/multitail/${pname}-${version}.tgz";
|
|
sha256 = "1vd9vdxyxsccl64ilx542ya5vlw2bpg6gnkq1x8cfqy6vxvmx7dj";
|
|
};
|
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
makeFlags = stdenv.lib.optionals stdenv.isDarwin [ "-f" "makefile.macosx" ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp multitail $out/bin
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "http://www.vanheusden.com/multitail/";
|
|
description = "tail on Steroids";
|
|
maintainers = with stdenv.lib.maintainers; [ matthiasbeyer ];
|
|
platforms = stdenv.lib.platforms.unix;
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
};
|
|
}
|