Add supervisor with backoff restarts

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