Add Runtime.Bus with channel-based effect interpreter

This commit is contained in:
2026-08-20 19:29:56 +03:00
parent aa5a91bfa3
commit 78248388ac
7 changed files with 114 additions and 16 deletions
+5 -4
View File
@@ -1,5 +1,5 @@
{ mkDerivation, aeson, base, bytestring, lens, lens-aeson, lib
, network, text, time, websockets
{ mkDerivation, aeson, base, bytestring, hspec, lens, lens-aeson
, lib, network, stm, text, time, websockets
}:
mkDerivation {
pname = "home-assistant-controller";
@@ -8,10 +8,11 @@ mkDerivation {
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson base bytestring lens lens-aeson network text time websockets
aeson base bytestring lens lens-aeson network stm text time
websockets
];
executableHaskellDepends = [ base ];
testHaskellDepends = [ base ];
testHaskellDepends = [ aeson base hspec stm text ];
license = lib.meta.getLicenseFromSpdxId "BSD-3-Clause";
mainProgram = "home-assistant-controller";
}