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