summary refs log tree commit diff
path: root/pkgs/os-specific/linux/procps-ng/default.nix
blob: cd8a8eaec133ca9507597e2d9cc07da75b9a1a84 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, fetchurl, ncurses }:

stdenv.mkDerivation {
  name = "procps-3.3.9";

  src = fetchurl {
    url = mirror://sourceforge/procps-ng/procps-ng-3.3.9.tar.xz;
    sha256 = "0qw69v7wx8hilwylyk9455k3h1xg8sc13vxh0pvdss7rml7wpw00";
  };

  buildInputs = [ ncurses ];

  makeFlags = "usrbin_execdir=$(out)/bin";

  enableParallelBuilding = true;

  crossAttrs = {
    CC = stdenv.cross.config + "-gcc";
  };

  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"
  };
}