Merge pull request #276649 from K900/cpufeature-fix

Fix home-assistant (and possibly others) dependencies on non-x86
This commit is contained in:
K900 2023-12-25 12:05:35 +03:00 committed by GitHub
commit 8f92e0a3d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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" ];
};
}