1{ stdenv, fetchurl, ncurses }:
2
3stdenv.mkDerivation {
4 name = "procps-3.2.8";
5
6 src = fetchurl {
7 url = http://procps.sourceforge.net/procps-3.2.8.tar.gz;
8 sha256 = "0d8mki0q4yamnkk4533kx8mc0jd879573srxhg6r2fs3lkc6iv8i";
9 };
10
11 patches =
12 [ ./makefile.patch
13 ./procps-build.patch
14 ./gnumake3.82.patch
15 ./linux-ver-init.patch
16 ];
17
18 buildInputs = [ ncurses ];
19
20 makeFlags = "DESTDIR=$(out)";
21
22 crossAttrs = {
23 CC = stdenv.cross.config + "-gcc";
24 };
25
26 meta = {
27 homepage = http://procps.sourceforge.net/;
28 description = "Utilities that give information about processes using the /proc filesystem";
29 };
30}