nixpkgs/pkgs/tools/misc/multitail/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
744 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, ncurses, pkg-config, cmake }:
2013-03-31 17:40:11 +00:00
2014-08-08 12:50:51 +00:00
stdenv.mkDerivation rec {
2023-11-19 07:15:48 +00:00
version = "7.1.2";
pname = "multitail";
2013-03-31 17:40:11 +00:00
src = fetchFromGitHub {
owner = "folkertvanheusden";
repo = pname;
rev = version;
2023-11-19 07:15:48 +00:00
sha256 = "sha256-00NZI/KFcgEAkvESnx0KQFW1GvX6FgZLA4Z1Fv2qi+E=";
2013-03-31 17:40:11 +00:00
};
nativeBuildInputs = [ pkg-config cmake ];
buildInputs = [ ncurses ];
2013-03-31 17:40:11 +00:00
installPhase = ''
mkdir -p $out/bin
cp bin/multitail $out/bin
2013-03-31 17:40:11 +00:00
'';
hardeningDisable = [ "format" ];
2013-03-31 17:40:11 +00:00
meta = {
homepage = "https://github.com/folkertvanheusden/multitail";
2013-03-31 17:40:11 +00:00
description = "tail on Steroids";
2021-01-15 09:19:50 +00:00
maintainers = with lib.maintainers; [ matthiasbeyer ];
platforms = lib.platforms.unix;
license = lib.licenses.asl20;
2013-03-31 17:40:11 +00:00
};
}