nixpkgs/pkgs/os-specific/linux/sysstat/default.nix
Eelco Dolstra 6e8d8a1614 * sysstat 8.0.4.1.
svn path=/nixpkgs/trunk/; revision=12533
2008-08-07 11:15:11 +00:00

19 lines
486 B
Nix

{stdenv, fetchurl, gettext}:
stdenv.mkDerivation {
name = "sysstat-8.0.4.1";
src = fetchurl {
url = http://perso.orange.fr/sebastien.godard/sysstat-8.0.4.1.tar.bz2;
sha256 = "17bzyz6bp63br4pns40ypc0qac0299lh90p7fhis5sn31sx811rf";
};
buildInputs = [gettext];
preConfigure = ''
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)
'';
}