mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
fb99a1d410
This patch includes: * multitail: Move version to own variable * multitail: Add myself as package maintainer
27 lines
627 B
Nix
27 lines
627 B
Nix
{ stdenv, fetchurl, ncurses }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "6.4.2";
|
|
name = "multitail-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.vanheusden.com/multitail/${name}.tgz";
|
|
sha256 = "1zd1r89xkxngl1pdrvsc877838nwkfqkbcgfqm3vglwalxc587dg";
|
|
};
|
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
makeFlags = stdenv.lib.optionalString 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 ];
|
|
};
|
|
}
|