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

23 lines
635 B
Nix
Raw Normal View History

2016-07-14 17:06:39 +01:00
{ stdenv, lib, fetchzip, ncurses }:
2015-09-29 20:44:51 +01:00
stdenv.mkDerivation rec {
name = "eventstat-${version}";
version = "0.04.05";
2015-09-29 20:44:51 +01:00
src = fetchzip {
url = "http://kernel.ubuntu.com/~cking/tarballs/eventstat/eventstat-${version}.tar.gz";
sha256 = "1s9d6wl7f8cyn21fwj894dhfvl6f6f2h5xv26hg1yk3zfb5rmyn7";
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 ];
};
}