pythonPackages.py-cpuinfo: Fix darwin build (#47558)
This commit is contained in:
parent
78e244e419
commit
49dcf7be62
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -14,6 +15,16 @@ buildPythonPackage rec {
|
||||
sha256 = "1pp561lj80jnvr2038nrzhmks2akxsbdqxvfrqa6n340x81981lm";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
pytest -k "not TestActual"
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Get CPU info with pure Python 2 & 3";
|
||||
homepage = https://github.com/workhorsy/py-cpuinfo;
|
||||
|
Loading…
Reference in New Issue
Block a user