2007-02-25 12:46:29 +03:00
|
|
|
{stdenv, fetchurl, gettext}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2008-08-07 15:15:11 +04:00
|
|
|
name = "sysstat-8.0.4.1";
|
2007-02-25 12:46:29 +03:00
|
|
|
|
|
|
|
src = fetchurl {
|
2008-08-07 15:15:11 +04:00
|
|
|
url = http://perso.orange.fr/sebastien.godard/sysstat-8.0.4.1.tar.bz2;
|
|
|
|
sha256 = "17bzyz6bp63br4pns40ypc0qac0299lh90p7fhis5sn31sx811rf";
|
2007-02-25 12:46:29 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [gettext];
|
|
|
|
|
2008-08-07 15:15:11 +04:00
|
|
|
preConfigure = ''
|
2007-02-25 12:46:29 +03: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 15:15:11 +04:00
|
|
|
'';
|
2007-02-25 12:46:29 +03:00
|
|
|
}
|