forked from mirrors/nixpkgs
pstree: updated to version 2.32; the previous version no longer exists upstream
svn path=/nixpkgs/trunk/; revision=17617
This commit is contained in:
parent
e615e1e0de
commit
99fe875609
|
@ -1,21 +1,21 @@
|
|||
args: with args;
|
||||
stdenv.mkDerivation {
|
||||
name = "pstree-2.31";
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pstree-2.32";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://fresh.t-systems-sfr.com/unix/src/misc/pstree-2.31.tar.gz;
|
||||
sha256 = "1zzz29gsyra8csk54cyq0pcdxxg3l4gmksq8q1skv2z84g2yxdhh";
|
||||
url = "http://fresh.t-systems-sfr.com/unix/src/misc/${name}.tar.gz";
|
||||
sha256 = "0k5r6alnc0ch3frvl5bhh2vi91m6aik10pnjfl86qwkdwsr303az";
|
||||
};
|
||||
|
||||
unpackPhase="unpackFile \$src; sourceRoot=.";
|
||||
|
||||
|
||||
buildPhase="pwd; gcc -o pstree pstree.c";
|
||||
installPhase="ensureDir \$out/bin; cp pstree \$out/bin";
|
||||
|
||||
meta = {
|
||||
meta = {
|
||||
description = "show the running processes as tree";
|
||||
# don't know the correct homepage..
|
||||
homepage = http://fresh.t-systems-sfr.com/unix/src/misc/pstree-2.31.tar.gz;
|
||||
homepage = http://fresh.t-systems-sfr.com/unix/src/misc/pstree-2.32.tar.gz;
|
||||
license = "GPL";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue