home-assistant: pin pyaussiebb, voluptuous, xbox-webapi

This commit is contained in:
Martin Weinelt 2023-12-17 04:40:26 +01:00
parent 63c45ccece
commit f4361bb102
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -228,6 +228,16 @@ let
};
});
pyaussiebb = super.pyaussiebb.overridePythonAttrs (oldAttrs: rec {
version = "0.0.18";
src = fetchFromGitHub {
owner = "yaleman";
repo = "aussiebb";
rev = "refs/tags/v${version}";
hash = "sha256-tEdddVsLFCHRvyLCctDakioiop2xWaJlfGE16P1ukHc=";
};
});
pydantic = super.pydantic_1;
pydexcom = super.pydexcom.overridePythonAttrs (oldAttrs: rec {
@ -297,6 +307,16 @@ let
};
});
voluptuous = super.voluptuous.overridePythonAttrs (oldAttrs: rec {
version = "0.13.1";
src = fetchFromGitHub {
owner = "alecthomas";
repo = "voluptuous";
rev = "refs/tags/${version}";
hash = "sha256-cz3Bd+/yPh+VOHxzi/W+gbDh/H5Nl/n4jvxDOirmAVk=";
};
});
# Pinned due to API changes ~1.0
vultr = super.vultr.overridePythonAttrs (oldAttrs: rec {
version = "0.1.2";
@ -308,6 +328,29 @@ let
};
});
xbox-webapi = super.xbox-webapi.overridePythonAttrs (oldAttrs: rec {
version = "2.0.11";
src = fetchFromGitHub {
owner = "OpenXbox";
repo = "xbox-webapi-python";
rev = "refs/tags/v${version}";
hash = "sha256-fzMB+I8+ZTJUiZovcuj+d5GdHY9BJyJd6j92EhJeIFI=";
};
postPatch = ''
sed -i '/pytest-runner/d' setup.py
'';
propagatedBuildInputs = with self; [
aiohttp
appdirs
ms-cv
pydantic
ecdsa
];
nativeCheckInputs = with self; [
aresponses
];
});
# internal python packages only consumed by home-assistant itself
home-assistant-frontend = self.callPackage ./frontend.nix { };
home-assistant-intents = self.callPackage ./intents.nix { };