nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenv, fetchFromGitHub, fetchpatch, ncurses, pkg-config, cmake }:
2
3stdenv.mkDerivation rec {
4 version = "7.0.0";
5 pname = "multitail";
6
7 src = fetchFromGitHub {
8 owner = "folkertvanheusden";
9 repo = pname;
10 rev = version;
11 sha256 = "sha256-AMW55Bmwn0BsD36qGXI5WmEfydrMBob8NRY3Tyq92vA=";
12 };
13
14 nativeBuildInputs = [ pkg-config cmake ];
15
16 buildInputs = [ ncurses ];
17
18 installPhase = ''
19 mkdir -p $out/bin
20 cp bin/multitail $out/bin
21 '';
22
23 hardeningDisable = [ "format" ];
24
25 meta = {
26 homepage = "https://github.com/halturin/multitail";
27 description = "tail on Steroids";
28 maintainers = with lib.maintainers; [ matthiasbeyer ];
29 platforms = lib.platforms.unix;
30 license = lib.licenses.gpl2Plus;
31 };
32}