forked from mirrors/nixpkgs
iotop: Update to 0.6
Also, install the man page in the right place.
This commit is contained in:
parent
3af40ade24
commit
0b351e964e
|
@ -1,16 +1,22 @@
|
|||
{ stdenv, fetchurl, buildPythonPackage, pythonPackages }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "iotop-0.4.1";
|
||||
name = "iotop-0.6";
|
||||
namePrefix = "";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://guichaz.free.fr/iotop/files/${name}.tar.bz2";
|
||||
sha256 = "1dfvw3khr2rvqllvs9wad9ca3ld4i7szqf0ibq87rn36ickrf3ll";
|
||||
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 = {
|
||||
|
|
Loading…
Reference in a new issue