Merge pull request #276649 from K900/cpufeature-fix
Fix home-assistant (and possibly others) dependencies on non-x86
This commit is contained in:
commit
8f92e0a3d5
2 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, cpufeature
|
||||
|
@ -34,9 +35,8 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
cpufeature
|
||||
zlib-ng
|
||||
];
|
||||
] ++ lib.optional (lib.meta.availableOn stdenv.hostPlatform cpufeature) cpufeature;
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
|
|
|
@ -46,5 +46,6 @@ buildPythonPackage rec {
|
|||
homepage = "https://github.com/robbmcleod/cpufeature";
|
||||
license = licenses.cc0;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
platforms = [ "x86_64-linux" "x86_64-windows" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue