mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
23 lines
626 B
Nix
23 lines
626 B
Nix
{ stdenv, lib, fetchzip, ncurses }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "eventstat";
|
|
version = "0.04.08";
|
|
src = fetchzip {
|
|
url = "https://kernel.ubuntu.com/~cking/tarballs/eventstat/eventstat-${version}.tar.gz";
|
|
sha256 = "08a2fg2bl7rf29br1mryix5hp2njy0cjl648lnyiv7wngi341qsm";
|
|
};
|
|
buildInputs = [ ncurses ];
|
|
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 ];
|
|
};
|
|
}
|