Run controllers on their own threads over the bus

This commit is contained in:
2026-08-20 19:40:01 +03:00
parent f449ad60ad
commit 9c355adf47
5 changed files with 84 additions and 94 deletions
+4 -4
View File
@@ -1,5 +1,5 @@
{ mkDerivation, aeson, base, bytestring, hspec, lens, lens-aeson
, lib, network, stm, text, time, websockets
{ mkDerivation, aeson, async, base, bytestring, hspec, lens
, lens-aeson, lib, network, stm, text, time, websockets
}:
mkDerivation {
pname = "home-assistant-controller";
@@ -8,11 +8,11 @@ mkDerivation {
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson base bytestring lens lens-aeson network stm text time
aeson async base bytestring lens lens-aeson network stm text time
websockets
];
executableHaskellDepends = [ base ];
testHaskellDepends = [ aeson base hspec stm text ];
testHaskellDepends = [ aeson async base hspec stm text ];
license = lib.meta.getLicenseFromSpdxId "BSD-3-Clause";
mainProgram = "home-assistant-controller";
}