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