nixpkgs/pkgs/os-specific/linux/procps-ng/default.nix

30 lines
726 B
Nix
Raw Normal View History

{ stdenv, fetchurl, ncurses }:
stdenv.mkDerivation {
2014-10-07 21:41:21 +00:00
name = "procps-3.3.10";
src = fetchurl {
2014-10-07 21:41:21 +00:00
url = mirror://sourceforge/procps-ng/procps-ng-3.3.10.tar.xz;
sha256 = "013z4rzy3p5m1zp6mmynpblv0c6zlcn91pw4k2vymz2djyc6ybm0";
};
buildInputs = [ ncurses ];
makeFlags = "usrbin_execdir=$(out)/bin";
enableParallelBuilding = true;
crossAttrs = {
CC = stdenv.cross.config + "-gcc";
};
2014-10-22 19:21:01 +00:00
# Too red
configureFlags = [ "--disable-modern-top" ];
meta = {
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"
};
}