Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 29 lines 807 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 = "Tool to find out the processes doing the most IO"; 23 homepage = "http://guichaz.free.fr/iotop"; 24 license = licenses.gpl2Plus; 25 mainProgram = "iotop"; 26 maintainers = [ maintainers.raskin ]; 27 platforms = platforms.linux; 28 }; 29}