mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
home-assistant-custom-components.blueprints-updater: use httpx optional-dependency to get h2 (#529992)
This commit is contained in:
commit
f3697c3ab3
1 changed files with 2 additions and 6 deletions
|
|
@ -2,7 +2,7 @@
|
|||
lib,
|
||||
buildHomeAssistantComponent,
|
||||
fetchFromGitHub,
|
||||
h2,
|
||||
httpx,
|
||||
home-assistant,
|
||||
pytest-cov-stub,
|
||||
pytest-homeassistant-custom-component,
|
||||
|
|
@ -34,11 +34,7 @@ buildHomeAssistantComponent rec {
|
|||
--replace-fail '"--timeout=60",' ""
|
||||
'';
|
||||
|
||||
dependencies = [
|
||||
# Uncodumented, but otherwise the home-assistant helpers/httpx_client.py fails like:
|
||||
# ImportError: Using http2=True, but the 'h2' package is not installed. Make sure to install httpx using `pip install httpx[http2]`.
|
||||
h2
|
||||
];
|
||||
dependencies = httpx.optional-dependencies.http2;
|
||||
|
||||
nativeCheckInputs = [
|
||||
home-assistant
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue