mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
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:
commit
67e7764223
1 changed files with 9 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue