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

40 lines
1,013 B
Nix
Raw Normal View History

2015-03-27 19:15:49 +01:00
{ stdenv, fetchurl, pkgconfig, ncurses, systemd }:
2015-03-27 19:15:49 +01:00
stdenv.mkDerivation rec {
name = "procps-ng-3.3.10";
src = fetchurl {
2015-03-27 19:15:49 +01:00
url = "mirror://sourceforge/procps-ng/${name}.tar.xz";
2014-10-07 23:41:21 +02:00
sha256 = "013z4rzy3p5m1zp6mmynpblv0c6zlcn91pw4k2vymz2djyc6ybm0";
};
2015-03-27 19:15:49 +01:00
buildInputs = [ pkgconfig ncurses systemd ];
makeFlags = "usrbin_execdir=$(out)/bin";
enableParallelBuilding = true;
crossAttrs = {
CC = stdenv.cross.config + "-gcc";
};
2014-10-22 21:21:01 +02:00
# Too red
2015-03-27 19:15:49 +01:00
configureFlags = [
"--disable-modern-top"
"--enable-watch8bit"
"--with-systemd"
"--enable-skill"
"--enable-oomem"
"--enable-sigwinch"
];
meta = with stdenv.lib; {
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 19:15:49 +01:00
maintainers = with maintainers; [ wkennington ];
license = licenses.gpl;
platforms = platforms.linux;
};
}