nixpkgs/pkgs/os-specific/linux/forkstat/default.nix
R. RyanTM a81fba7595 forkstat: 0.02.02 -> 0.02.03 (#42016)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/forkstat/versions.

These checks were done:

- built on NixOS
- /nix/store/i74h7m1lbmyxjgrkdyii68a4dhi2m2fz-forkstat-0.02.03/bin/forkstat 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.02.03 with grep in /nix/store/i74h7m1lbmyxjgrkdyii68a4dhi2m2fz-forkstat-0.02.03
- directory tree listing: https://gist.github.com/89b0404a0b74c11f7d41c06cf94d184a
- du listing: https://gist.github.com/e13ac9907c46410b6a17fefb8f6977f3
2018-06-18 22:45:22 +02:00

23 lines
654 B
Nix

{ stdenv, lib, fetchurl }:
stdenv.mkDerivation rec {
name = "forkstat-${version}";
version = "0.02.03";
src = fetchurl {
url = "http://kernel.ubuntu.com/~cking/tarballs/forkstat/forkstat-${version}.tar.gz";
sha256 = "1dl95ijs9bs9s9i629bi88qmvxjl25ym742gc063bysbp8drban1";
};
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 ];
};
}