mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
0b351e964e
Also, install the man page in the right place.
28 lines
670 B
Nix
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;
|
|
};
|
|
}
|