mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
120d1757fe
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
22 lines
536 B
Nix
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;
|
|
};
|
|
}
|