···8phase.
910Python runtime dependencies can be directly consumed as unqualified
11-function arguments. Pass them into `propagatedBuildInputs`, for them to
12be available to Home Assistant.
1314Out-of-tree components need to use Python packages from
···31 # owner, repo, rev, hash
32 };
3334- propagatedBuildInputs = [
35 # python requirements, as specified in manifest.json
36 ];
37···7273There shouldn't be a need to disable this hook, but you can set
74`dontCheckManifest` to `true` in the derivation to achieve that.
000000000000000000
···8phase.
910Python runtime dependencies can be directly consumed as unqualified
11+function arguments. Pass them into `dependencies`, for them to
12be available to Home Assistant.
1314Out-of-tree components need to use Python packages from
···31 # owner, repo, rev, hash
32 };
3334+ dependencies = [
35 # python requirements, as specified in manifest.json
36 ];
37···7273There shouldn't be a need to disable this hook, but you can set
74`dontCheckManifest` to `true` in the derivation to achieve that.
75+76+### Too narrow version constraints
77+78+Every once in a while a dependency constraint is more narrow than it
79+needs to be. Instead of applying brittle substitions the version constraint
80+can be ignored on a per requirement basis.
81+82+```nix
83+ dependencies = [
84+ pyemvue
85+ ];
86+87+ # don't check the version constraint of pyemvue
88+ ignoreVersionRequirement = [
89+ "pyemvue"
90+ ];
91+```
92+`
···17 hash = "sha256-Fl8qwsW9NdjnYdu7IGQDelXTLqNx5ioUoxkhv+p5L0I=";
18 };
1920- propagatedBuildInputs = [ midea-beautiful-air ];
2122 meta = with lib; {
23 description = "Home Assistant custom component adding support for controlling Midea air conditioners and dehumidifiers on local network";
···17 hash = "sha256-Fl8qwsW9NdjnYdu7IGQDelXTLqNx5ioUoxkhv+p5L0I=";
18 };
1920+ dependencies = [ midea-beautiful-air ];
2122 meta = with lib; {
23 description = "Home Assistant custom component adding support for controlling Midea air conditioners and dehumidifiers on local network";