at 23.05-pre 28 lines 778 B view raw
1{ lib, fetchurl, python3Packages, fetchpatch }: 2 3python3Packages.buildPythonApplication rec { 4 pname = "iotop"; 5 version = "0.6"; 6 7 src = fetchurl { 8 url = "http://guichaz.free.fr/iotop/files/iotop-${version}.tar.bz2"; 9 sha256 = "0nzprs6zqax0cwq8h7hnszdl3d2m4c2d4vjfxfxbnjfs9sia5pis"; 10 }; 11 12 patches = [ 13 (fetchpatch { 14 url = "https://repo.or.cz/iotop.git/patch/99c8d7cedce81f17b851954d94bfa73787300599"; 15 sha256 = "0rdgz6xpmbx77lkr1ixklliy1aavdsjmfdqvzwrjylbv0xh5wc8z"; 16 }) 17 ]; 18 19 doCheck = false; 20 21 meta = with lib; { 22 description = "A tool to find out the processes doing the most IO"; 23 homepage = "http://guichaz.free.fr/iotop"; 24 license = licenses.gpl2; 25 maintainers = [ maintainers.raskin ]; 26 platforms = platforms.linux; 27 }; 28}