2011-03-28 13:23:52 +00:00
|
|
|
{ stdenv, fetchurl, buildPythonPackage, pythonPackages }:
|
2010-11-23 07:46:18 +00:00
|
|
|
|
2011-03-28 13:23:52 +00:00
|
|
|
buildPythonPackage rec {
|
2013-09-17 12:17:01 +00:00
|
|
|
name = "iotop-0.6";
|
2011-03-28 13:23:52 +00:00
|
|
|
namePrefix = "";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://guichaz.free.fr/iotop/files/${name}.tar.bz2";
|
2013-09-17 12:17:01 +00:00
|
|
|
sha256 = "0nzprs6zqax0cwq8h7hnszdl3d2m4c2d4vjfxfxbnjfs9sia5pis";
|
2010-11-23 07:46:18 +00:00
|
|
|
};
|
|
|
|
|
2011-03-28 15:30:48 +00:00
|
|
|
pythonPath = [ pythonPackages.curses ];
|
2011-03-28 13:23:52 +00:00
|
|
|
|
2013-09-17 12:17:01 +00:00
|
|
|
postInstall =
|
|
|
|
''
|
|
|
|
# Put the man page in the right place.
|
|
|
|
mv $out/lib/python*/site-packages/iotop-*/share $out
|
|
|
|
'';
|
|
|
|
|
2011-03-28 13:23:52 +00:00
|
|
|
doCheck = false;
|
2010-11-23 07:46:18 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A tool to find out the processes doing the most IO";
|
2011-03-28 13:23:52 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.raskin ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2010-11-23 07:46:18 +00:00
|
|
|
};
|
2011-03-28 13:23:52 +00:00
|
|
|
}
|