forked from mirrors/nixpkgs
bbef10b3b9
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/eventstat/versions. These checks were done: - built on NixOS - /nix/store/8maki50gwqm08fzrrw4nnnfr6alvqzr8-eventstat-0.04.04/bin/eventstat passed the binary check. - 1 of 1 passed binary check by having a zero exit code. - 0 of 1 passed binary check by having the new version present in output. - found 0.04.04 with grep in /nix/store/8maki50gwqm08fzrrw4nnnfr6alvqzr8-eventstat-0.04.04 - directory tree listing: https://gist.github.com/5ed1c395b9ebbda292b165652d1666cf - du listing: https://gist.github.com/83aba0c7903134aa17a6215a3a9b0b9f
23 lines
635 B
Nix
23 lines
635 B
Nix
{ stdenv, lib, fetchzip, ncurses }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "eventstat-${version}";
|
|
version = "0.04.04";
|
|
src = fetchzip {
|
|
url = "http://kernel.ubuntu.com/~cking/tarballs/eventstat/eventstat-${version}.tar.gz";
|
|
sha256 = "034xpdr3ip4w9k713wjc45x66k3nz6wg9wkzmchrjifxk4dldbd8";
|
|
};
|
|
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 ];
|
|
};
|
|
}
|