forkstat: init at 0.01.13

This commit is contained in:
Kranium Gikos Mendoza 2016-07-15 00:49:35 +08:00
parent b795186f2e
commit f88f31c4f0
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{ stdenv, lib, fetchurl }:
stdenv.mkDerivation rec {
name = "forkstat-${version}";
version = "0.01.13";
src = fetchurl {
url = "http://kernel.ubuntu.com/~cking/tarballs/forkstat/forkstat-${version}.tar.gz";
sha256 = "12dmqpv0q3x166sya93rhcj7vs4868x7y7lwfwv9l54hhirpamhq";
};
installFlags = [ "DESTDIR=$(out)" ];
postInstall = ''
mv $out/usr/* $out
rm -r $out/usr
'';
meta = with lib; {
description = "Process fork/exec/exit monitoring tool";
homepage = http://kernel.ubuntu.com/~cking/forkstat/;
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ womfoo ];
};
}

View file

@ -10759,6 +10759,8 @@ in
fnotifystat = callPackage ../os-specific/linux/fnotifystat { };
forkstat = callPackage ../os-specific/linux/forkstat { };
freefall = callPackage ../os-specific/linux/freefall {
inherit (linuxPackages) kernel;
};