at 18.09-beta 961 B view raw
1{ stdenv, fetchurl, gettext, bzip2 }: 2 3stdenv.mkDerivation rec { 4 name = "sysstat-12.0.1"; 5 6 src = fetchurl { 7 url = "http://perso.orange.fr/sebastien.godard/${name}.tar.xz"; 8 sha256 = "114wh7iqi82c0az8wn3dg3y56279fb2wg81v8kvx87mq5975bg51"; 9 }; 10 11 buildInputs = [ gettext ]; 12 13 preConfigure = '' 14 export PATH_CP=$(type -tp cp) 15 export PATH_CHKCONFIG=/no-such-program 16 export BZIP=${bzip2.bin}/bin/bzip2 17 export SYSTEMCTL=systemctl 18 ''; 19 20 makeFlags = "SYSCONFIG_DIR=$(out)/etc IGNORE_FILE_ATTRIBUTES=y CHOWN=true"; 21 installTargets = "install_base install_nls install_man"; 22 23 patches = [ ./install.patch ]; 24 25 meta = { 26 homepage = http://sebastien.godard.pagesperso-orange.fr/; 27 description = "A collection of performance monitoring tools for Linux (such as sar, iostat and pidstat)"; 28 license = stdenv.lib.licenses.gpl2Plus; 29 platforms = stdenv.lib.platforms.linux; 30 maintainers = [ stdenv.lib.maintainers.eelco ]; 31 }; 32}