3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/eventstat/default.nix

29 lines
752 B
Nix
Raw Normal View History

{ stdenv, lib, fetchFromGitHub, ncurses }:
2015-09-29 20:44:51 +01:00
stdenv.mkDerivation rec {
pname = "eventstat";
version = "0.04.13";
src = fetchFromGitHub {
owner = "ColinIanKing";
repo = pname;
rev = "V${version}";
hash = "sha256-psamt9omhakiO3Kx2EzofPL2VAsva7XKQTZmn6zKefA=";
2015-09-29 20:44:51 +01:00
};
2016-07-14 17:06:39 +01:00
buildInputs = [ ncurses ];
installFlags = [
"BINDIR=${placeholder "out"}/bin"
"MANDIR=${placeholder "out"}/share/man/man8"
"BASHDIR=${placeholder "out"}/share/bash-completion/completions"
];
2015-09-29 20:44:51 +01:00
meta = with lib; {
description = "Simple monitoring of system events";
homepage = "https://github.com/ColinIanKing/eventstat";
2015-09-29 20:44:51 +01:00
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ cstrahan ];
};
}