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