mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 09:43:14 +00:00
b1f3e2614e
- use the fork url as the homepage instead of the original one - change the license to asl20
33 lines
744 B
Nix
33 lines
744 B
Nix
{ lib, stdenv, fetchFromGitHub, ncurses, pkg-config, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "7.1.1";
|
|
pname = "multitail";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "folkertvanheusden";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-qQc7FqpkAri/RE1hJIC4P6n1Jc6TJwBcR0Dp5n5QDQg=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config cmake ];
|
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp bin/multitail $out/bin
|
|
'';
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/folkertvanheusden/multitail";
|
|
description = "tail on Steroids";
|
|
maintainers = with lib.maintainers; [ matthiasbeyer ];
|
|
platforms = lib.platforms.unix;
|
|
license = lib.licenses.asl20;
|
|
};
|
|
}
|