Merge pull request #53141 from Izorkin/fix-psutil

pythonPackage.psutil: fix disk io counters fails on Linux kernel 4.18+
This commit is contained in:
Jörg Thalheim 2019-01-03 23:29:35 +01:00 committed by GitHub
commit 67e7764223
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, fetchPypi, fetchpatch
, darwin
}:
@ -13,6 +13,14 @@ buildPythonPackage rec {
sha256 = "6e265c8f3da00b015d24b842bfeb111f856b13d24f2c57036582568dc650d6c3";
};
patches = [
(fetchpatch {
name = "disk_io_counters_fails.patch";
url = "https://github.com/giampaolo/psutil/commit/8f99f3782663959062ee868bbfdbc336307a3a4d.diff";
sha256 = "0j7wdgq8y20k27wcpmbgc1chd0vmbkxy8j0zwni1s4i7hyk64hmk";
})
];
# No tests in archive
doCheck = false;