8 stdenv.mkDerivation rec {
12 src = fetchFromGitHub {
15 rev = "refs/tags/v${version}";
16 hash = "sha256-ELmSzWnJ8vGwGPwY/5MFp/2gQhMXMjNG4bHtCplfQSc=";
19 buildInputs = [ gettext ];
22 export PATH_CP=$(type -tp cp)
23 export PATH_CHKCONFIG=/no-such-program
24 export BZIP=${bzip2.bin}/bin/bzip2
25 export SYSTEMCTL=systemctl
26 export COMPRESS_MANPG=n
29 makeFlags = [ "SYSCONFIG_DIR=$(out)/etc" "IGNORE_FILE_ATTRIBUTES=y" "CHOWN=true" ];
30 installTargets = [ "install_base" "install_nls" "install_man" ];
32 patches = [ ./install.patch ];
35 homepage = "http://sebastien.godard.pagesperso-orange.fr/";
36 description = "Collection of performance monitoring tools for Linux (such as sar, iostat and pidstat)";
37 license = lib.licenses.gpl2Plus;
38 platforms = lib.platforms.linux;