20246dc450
Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/2zp45hxwi8mnlsaf2hwfdbd0hkzrfcvz-eventstat-0.04.03/bin/eventstat -h` got 0 exit code - ran `/nix/store/2zp45hxwi8mnlsaf2hwfdbd0hkzrfcvz-eventstat-0.04.03/bin/eventstat -h` and found version 0.04.03 - found 0.04.03 with grep in /nix/store/2zp45hxwi8mnlsaf2hwfdbd0hkzrfcvz-eventstat-0.04.03 - found 0.04.03 in filename of file in /nix/store/2zp45hxwi8mnlsaf2hwfdbd0hkzrfcvz-eventstat-0.04.03
23 lines
635 B
Nix
23 lines
635 B
Nix
{ stdenv, lib, fetchzip, ncurses }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "eventstat-${version}";
|
|
version = "0.04.03";
|
|
src = fetchzip {
|
|
url = "http://kernel.ubuntu.com/~cking/tarballs/eventstat/eventstat-${version}.tar.gz";
|
|
sha256 = "0yv7rpdg07rihw8iilvigib963nxf16mn26hzlb6qd1wv54k6dbr";
|
|
};
|
|
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 ];
|
|
};
|
|
}
|