2016-07-14 17:06:39 +01:00
|
|
|
{ stdenv, lib, fetchzip, ncurses }:
|
2015-09-29 20:44:51 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "eventstat";
|
2019-08-19 06:55:43 +01:00
|
|
|
version = "0.04.07";
|
2015-09-29 20:44:51 +01:00
|
|
|
src = fetchzip {
|
2019-04-22 09:14:28 +01:00
|
|
|
url = "https://kernel.ubuntu.com/~cking/tarballs/eventstat/eventstat-${version}.tar.gz";
|
2019-08-19 06:55:43 +01:00
|
|
|
sha256 = "05gl060lgm6i10ayk0hri49k7vln1sdqkqqy1kjgck6gkbamk7a5";
|
2015-09-29 20:44:51 +01:00
|
|
|
};
|
2016-07-14 17:06:39 +01:00
|
|
|
buildInputs = [ ncurses ];
|
2015-09-29 20:44:51 +01:00
|
|
|
installFlags = [ "DESTDIR=$(out)" ];
|
|
|
|
postInstall = ''
|
|
|
|
mv $out/usr/* $out
|
|
|
|
rm -r $out/usr
|
|
|
|
'';
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple monitoring of system events";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ cstrahan ];
|
|
|
|
};
|
|
|
|
}
|