3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/iotop/default.nix
Eelco Dolstra 0b351e964e iotop: Update to 0.6
Also, install the man page in the right place.
2013-09-17 14:17:55 +02:00

28 lines
670 B
Nix

{ stdenv, fetchurl, buildPythonPackage, pythonPackages }:
buildPythonPackage rec {
name = "iotop-0.6";
namePrefix = "";
src = fetchurl {
url = "http://guichaz.free.fr/iotop/files/${name}.tar.bz2";
sha256 = "0nzprs6zqax0cwq8h7hnszdl3d2m4c2d4vjfxfxbnjfs9sia5pis";
};
pythonPath = [ pythonPackages.curses ];
postInstall =
''
# Put the man page in the right place.
mv $out/lib/python*/site-packages/iotop-*/share $out
'';
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;
};
}