summary refs log blame commit diff
path: root/pkgs/os-specific/linux/sysstat/default.nix
blob: 6c6abf8bb388972639197387ad00f2804d25423d (plain) (tree)
1
2
3
4
5
6
7
8


                            
                         

                  

                                                                        









                                                                                                
{stdenv, fetchurl, gettext}:
   
stdenv.mkDerivation {
  name = "sysstat-8.0.0";
   
  src = fetchurl {
    url = http://perso.orange.fr/sebastien.godard/sysstat-8.0.0.tar.bz2;
    md5 = "cb579d5c5d5bc1386cc09193e15765bf";
  };

  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)
  ";
}