2008-01-30 18:20:48 +01:00
|
|
|
args: with args;
|
2009-10-02 18:25:59 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "pstree-2.32";
|
2007-09-03 14:10:57 +02:00
|
|
|
|
2008-01-30 18:20:48 +01:00
|
|
|
src = fetchurl {
|
2009-10-02 18:25:59 +02:00
|
|
|
url = "http://fresh.t-systems-sfr.com/unix/src/misc/${name}.tar.gz";
|
|
|
|
sha256 = "0k5r6alnc0ch3frvl5bhh2vi91m6aik10pnjfl86qwkdwsr303az";
|
2007-09-03 14:10:57 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
unpackPhase="unpackFile \$src; sourceRoot=.";
|
2009-10-02 18:25:59 +02:00
|
|
|
|
2007-09-03 14:10:57 +02:00
|
|
|
buildPhase="pwd; gcc -o pstree pstree.c";
|
|
|
|
installPhase="ensureDir \$out/bin; cp pstree \$out/bin";
|
|
|
|
|
2009-10-02 18:25:59 +02:00
|
|
|
meta = {
|
2007-09-03 14:10:57 +02:00
|
|
|
description = "show the running processes as tree";
|
|
|
|
# don't know the correct homepage..
|
2009-10-02 18:25:59 +02:00
|
|
|
homepage = http://fresh.t-systems-sfr.com/unix/src/misc/pstree-2.32.tar.gz;
|
2007-09-03 14:10:57 +02:00
|
|
|
license = "GPL";
|
2009-10-02 18:25:59 +02:00
|
|
|
};
|
2007-09-03 14:10:57 +02:00
|
|
|
}
|