nixpkgs/pkgs/os-specific/linux/sysstat/default.nix
Lluís Batlle i Rossell 6733613253 Updating sysstat
svn path=/nixpkgs/trunk/; revision=31464
2012-01-10 13:28:58 +00:00

26 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 ];
};
}