9 stdenv.mkDerivation rec {
13 src = fetchFromGitHub {
16 rev = "refs/tags/v${version}";
17 hash = "sha256-ELmSzWnJ8vGwGPwY/5MFp/2gQhMXMjNG4bHtCplfQSc=";
20 buildInputs = [ gettext ];
23 export PATH_CP=$(type -tp cp)
24 export PATH_CHKCONFIG=/no-such-program
25 export BZIP=${bzip2.bin}/bin/bzip2
26 export SYSTEMCTL=systemctl
27 export COMPRESS_MANPG=n
31 "SYSCONFIG_DIR=$(out)/etc"
32 "IGNORE_FILE_ATTRIBUTES=y"
41 patches = [ ./install.patch ];
44 mainProgram = "iostat";
45 homepage = "http://sebastien.godard.pagesperso-orange.fr/";
46 description = "Collection of performance monitoring tools for Linux (such as sar, iostat and pidstat)";
47 license = lib.licenses.gpl2Plus;
48 platforms = lib.platforms.linux;
49 maintainers = [ lib.maintainers.hensoko ];