6733613253
svn path=/nixpkgs/trunk/; revision=31464
27 lines
796 B
Nix
27 lines
796 B
Nix
{ stdenv, fetchurl, gettext }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "sysstat-10.0.3";
|
|
|
|
src = fetchurl {
|
|
url = "http://perso.orange.fr/sebastien.godard/${name}.tar.bz2";
|
|
sha256 = "0z7zr1b4xg9k8rbk2rnghjcycdfi0vb55f117d46ygcdym9ks0i2";
|
|
};
|
|
|
|
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)
|
|
'';
|
|
|
|
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 ];
|
|
};
|
|
}
|