mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
home-assistant: pin pyaussiebb, voluptuous, xbox-webapi
This commit is contained in:
parent
63c45ccece
commit
f4361bb102
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user