nixpkgs/pkgs/tools/misc/multitail/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

29 lines
717 B
Nix

{ stdenv, fetchurl, ncurses }:
stdenv.mkDerivation rec {
version = "6.4.2";
pname = "multitail";
src = fetchurl {
url = "https://www.vanheusden.com/multitail/${pname}-${version}.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 ];
platforms = stdenv.lib.platforms.unix;
license = stdenv.lib.licenses.gpl2Plus;
};
}