nixpkgs/pkgs/applications/misc/pstree/default.nix
Eelco Dolstra 6609710409 * Get rid of many instances of "args: with args;", and other coding
guidelines violations.
* Updated libsamplerate to 0.1.7.

svn path=/nixpkgs/trunk/; revision=22782
2010-07-28 11:55:54 +00:00

21 lines
494 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "pstree-2.33";
src = fetchurl {
url = "http://www.sfr-fresh.com/unix/misc/${name}.tar.gz";
sha256 = "1469lrhpy6wghlvbjx6lmvh27rakq00x11cpz4n965fg11i121hg";
};
unpackPhase = "unpackFile \$src; sourceRoot=.";
buildPhase = "pwd; gcc -o pstree pstree.c";
installPhase = "ensureDir \$out/bin; cp pstree \$out/bin";
meta = {
description = "Show the set of running processes as a tree";
license = "GPL";
};
}