forked from mirrors/nixpkgs
2e6bf42a22
There ver very many conflicts, basically all due to name -> pname+version. Fortunately, almost everything was auto-resolved by kdiff3, and for now I just fixed up a couple evaluation problems, as verified by the tarball job. There might be some fallback to these conflicts, but I believe it should be minimal. Hydra nixpkgs: ?compare=1538299
23 lines
626 B
Nix
23 lines
626 B
Nix
{ stdenv, lib, fetchzip, ncurses }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "eventstat";
|
|
version = "0.04.07";
|
|
src = fetchzip {
|
|
url = "https://kernel.ubuntu.com/~cking/tarballs/eventstat/eventstat-${version}.tar.gz";
|
|
sha256 = "05gl060lgm6i10ayk0hri49k7vln1sdqkqqy1kjgck6gkbamk7a5";
|
|
};
|
|
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 ];
|
|
};
|
|
}
|