3
0
Fork 0
forked from mirrors/nixpkgs

* Updated sysstat to the latest stable version.

svn path=/nixpkgs/trunk/; revision=24946
This commit is contained in:
Eelco Dolstra 2010-12-01 12:28:37 +00:00
parent 77672ac3a4
commit 2c814a5b2e

View file

@ -1,18 +1,26 @@
{stdenv, fetchurl, gettext}:
{ stdenv, fetchurl, gettext }:
stdenv.mkDerivation {
name = "sysstat-8.0.4.1";
stdenv.mkDerivation rec {
name = "sysstat-9.0.6.1";
src = fetchurl {
url = http://perso.orange.fr/sebastien.godard/sysstat-8.0.4.1.tar.bz2;
sha256 = "17bzyz6bp63br4pns40ypc0qac0299lh90p7fhis5sn31sx811rf";
url = "http://perso.orange.fr/sebastien.godard/${name}.tar.bz2";
sha256 = "061r616cc0wfjkrk5ywqcwh5gwvm3gw92phfkj9bhlzxhi9srkr7";
};
buildInputs = [gettext];
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 ];
};
}