2010-12-01 13:28:37 +01:00
|
|
|
{ stdenv, fetchurl, gettext }:
|
2007-02-25 10:46:29 +01:00
|
|
|
|
2010-12-01 13:28:37 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2012-08-05 14:36:54 +02:00
|
|
|
name = "sysstat-10.1.1";
|
2007-02-25 10:46:29 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-12-01 13:28:37 +01:00
|
|
|
url = "http://perso.orange.fr/sebastien.godard/${name}.tar.bz2";
|
2012-08-05 14:36:54 +02:00
|
|
|
sha256 = "1ig6k4yjkkazddjr90hykiapl30s9r9c1gy1h8hqzn2c3xgkm7p3";
|
2007-02-25 10:46:29 +01:00
|
|
|
};
|
|
|
|
|
2010-12-01 13:28:37 +01:00
|
|
|
buildInputs = [ gettext ];
|
2007-02-25 10:46:29 +01:00
|
|
|
|
2008-08-07 13:15:11 +02:00
|
|
|
preConfigure = ''
|
2007-02-25 10:46:29 +01:00
|
|
|
export PATH_CP=$(type -tp cp)
|
|
|
|
export PATH_CHKCONFIG=/no-such-program
|
2012-08-14 14:14:55 +02:00
|
|
|
makeFlagsArray=(SA_DIR=/var/log/sa SYSCONFIG_DIR=$out/etc CHOWN=true IGNORE_MAN_GROUP=y)
|
2008-08-07 13:15:11 +02:00
|
|
|
'';
|
2010-12-01 13:28:37 +01:00
|
|
|
|
2012-08-14 14:14:55 +02:00
|
|
|
patches = [ ./no-install-statedir.patch ];
|
|
|
|
|
2010-12-01 13:28:37 +01: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 10:46:29 +01:00
|
|
|
}
|