Merge pull request #66882 from Ma27/iotop-python3

iotop: use python3
This commit is contained in:
Michael Raskin 2019-08-19 08:48:22 +00:00 committed by GitHub
commit 801c40354b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, python2Packages }:
{ stdenv, fetchurl, python3Packages, fetchpatch }:
python2Packages.buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
name = "iotop-0.6";
src = fetchurl {
@ -8,6 +8,13 @@ python2Packages.buildPythonApplication rec {
sha256 = "0nzprs6zqax0cwq8h7hnszdl3d2m4c2d4vjfxfxbnjfs9sia5pis";
};
patches = [
(fetchpatch {
url = https://repo.or.cz/iotop.git/patch/99c8d7cedce81f17b851954d94bfa73787300599;
sha256 = "0rdgz6xpmbx77lkr1ixklliy1aavdsjmfdqvzwrjylbv0xh5wc8z";
})
];
doCheck = false;
meta = with stdenv.lib; {