nixpkgs/pkgs/os-specific/linux/iotop/default.nix
Eelco Dolstra 120d1757fe * buildPythonPackage: added an argument `pythonPath' to specify Python
dependencies that are *not* propagated to the user environment
  (as opposed to `propagatedBuildInputs').  For instance, if you
  install `iotop', you typically don't want its Python dependencies
  polluting the user environment.
  
* buildPythonPackage: some cleanup (e.g. use function argument
  defaults instead of `if attrs ? foo then attrs.foo else []').

svn path=/nixpkgs/branches/modular-python/; revision=26571
2011-03-28 15:30:48 +00:00

22 lines
536 B
Nix

{ stdenv, fetchurl, buildPythonPackage, pythonPackages }:
buildPythonPackage rec {
name = "iotop-0.4.1";
namePrefix = "";
src = fetchurl {
url = "http://guichaz.free.fr/iotop/files/${name}.tar.bz2";
sha256 = "1dfvw3khr2rvqllvs9wad9ca3ld4i7szqf0ibq87rn36ickrf3ll";
};
pythonPath = [ pythonPackages.curses ];
doCheck = false;
meta = {
description = "A tool to find out the processes doing the most IO";
maintainers = [ stdenv.lib.maintainers.raskin ];
platforms = stdenv.lib.platforms.linux;
};
}