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