2015-03-27 18:15:49 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, ncurses, systemd }:
|
2013-01-23 16:12:20 +00:00
|
|
|
|
2015-03-27 18:15:49 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "procps-ng-3.3.10";
|
2013-01-23 16:12:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-03-27 18:15:49 +00:00
|
|
|
url = "mirror://sourceforge/procps-ng/${name}.tar.xz";
|
2014-10-07 21:41:21 +00:00
|
|
|
sha256 = "013z4rzy3p5m1zp6mmynpblv0c6zlcn91pw4k2vymz2djyc6ybm0";
|
2013-01-23 16:12:20 +00:00
|
|
|
};
|
|
|
|
|
2015-03-27 18:15:49 +00:00
|
|
|
buildInputs = [ pkgconfig ncurses systemd ];
|
2013-01-23 16:12:20 +00:00
|
|
|
|
|
|
|
makeFlags = "usrbin_execdir=$(out)/bin";
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
crossAttrs = {
|
|
|
|
CC = stdenv.cross.config + "-gcc";
|
|
|
|
};
|
|
|
|
|
2014-10-22 19:21:01 +00:00
|
|
|
# Too red
|
2015-03-27 18:15:49 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--disable-modern-top"
|
|
|
|
"--enable-watch8bit"
|
|
|
|
"--with-systemd"
|
|
|
|
"--enable-skill"
|
|
|
|
"--enable-oomem"
|
|
|
|
"--enable-sigwinch"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2013-01-23 16:12:20 +00:00
|
|
|
homepage = http://sourceforge.net/projects/procps-ng/;
|
|
|
|
description = "Utilities that give information about processes using the /proc filesystem";
|
|
|
|
priority = 10; # less than coreutils, which also provides "kill" and "uptime"
|
2015-03-27 18:15:49 +00:00
|
|
|
maintainers = with maintainers; [ wkennington ];
|
2015-03-27 18:32:30 +00:00
|
|
|
license = licenses.gpl2;
|
2015-03-27 18:15:49 +00:00
|
|
|
platforms = platforms.linux;
|
2013-01-23 16:12:20 +00:00
|
|
|
};
|
|
|
|
}
|