2010-12-01 12:28:37 +00:00
|
|
|
{ stdenv, fetchurl, gettext }:
|
2007-02-25 09:46:29 +00:00
|
|
|
|
2010-12-01 12:28:37 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "sysstat-9.0.6.1";
|
2007-02-25 09:46:29 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-12-01 12:28:37 +00:00
|
|
|
url = "http://perso.orange.fr/sebastien.godard/${name}.tar.bz2";
|
|
|
|
sha256 = "061r616cc0wfjkrk5ywqcwh5gwvm3gw92phfkj9bhlzxhi9srkr7";
|
2007-02-25 09:46:29 +00:00
|
|
|
};
|
|
|
|
|
2010-12-01 12:28:37 +00:00
|
|
|
buildInputs = [ gettext ];
|
2007-02-25 09:46:29 +00:00
|
|
|
|
2008-08-07 12:15:11 +01:00
|
|
|
preConfigure = ''
|
2007-02-25 09:46:29 +00:00
|
|
|
export PATH_CP=$(type -tp cp)
|
|
|
|
export PATH_CHKCONFIG=/no-such-program
|
|
|
|
makeFlagsArray=(SA_DIR=$out/var/log/sa SYSCONFIG_DIR=$out/etc CHOWN=true IGNORE_MAN_GROUP=y)
|
2008-08-07 12:15:11 +01:00
|
|
|
'';
|
2010-12-01 12:28:37 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://sebastien.godard.pagesperso-orange.fr/;
|
|
|
|
description = "A collection of performance monitoring tools for Linux (such as sar, iostat and pidstat)";
|
|
|
|
license = "GPLv2+";
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
|
|
|
};
|
2007-02-25 09:46:29 +00:00
|
|
|
}
|