Add Flags module for runtime handler toggling

This commit is contained in:
2026-09-25 13:01:44 +03:00
parent 894d8f8436
commit 44497173de
5 changed files with 177 additions and 8 deletions
+7 -7
View File
@@ -1,8 +1,8 @@
{ mkDerivation, aeson, annotated-exception, async, base, bytestring
, cereal, cereal-conduit, conduit, containers, directory, ekg-core
, exceptions, filepath, hedgehog, hspec, hspec-hedgehog, http-types
, katip, lens, lens-aeson, lib, network, process, retry, scotty
, servant, servant-server, stm, text, time, unliftio
, exceptions, filepath, hedgehog, hspec, hspec-hedgehog, http-media
, http-types, katip, lens, lens-aeson, lib, network, process, retry
, servant, servant-server, stm, temporary, text, time, unliftio
, unordered-containers, uuid, wai, warp, websockets
}:
mkDerivation {
@@ -14,15 +14,15 @@ mkDerivation {
libraryHaskellDepends = [
aeson annotated-exception async base bytestring cereal
cereal-conduit conduit containers directory ekg-core exceptions
filepath http-types katip lens lens-aeson network process retry
scotty servant servant-server stm text time unliftio
filepath http-media http-types katip lens lens-aeson network
process retry servant servant-server stm text time unliftio
unordered-containers uuid wai warp websockets
];
executableHaskellDepends = [ base ];
testHaskellDepends = [
aeson annotated-exception async base bytestring cereal containers
directory ekg-core hedgehog hspec hspec-hedgehog katip process stm
text time unordered-containers uuid
directory ekg-core hedgehog hspec hspec-hedgehog katip process
servant stm temporary text time unordered-containers uuid
];
license = lib.meta.getLicenseFromSpdxId "BSD-3-Clause";
mainProgram = "home-assistant-controller";