1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/os-specific/linux/eventstat/default.nix

23 lines
626 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 {
pname = "eventstat";
2020-03-04 21:49:16 +00:00
version = "0.04.09";
2015-09-29 20:44:51 +01:00
src = fetchzip {
url = "https://kernel.ubuntu.com/~cking/tarballs/eventstat/eventstat-${version}.tar.gz";
2020-03-04 21:49:16 +00:00
sha256 = "1b3m58mak62ym2amnmk62c2d6fypk30fw6jsmirh1qz7dwix4bl5";
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 ];
};
}