32 lines
1.3 KiB
Nix
32 lines
1.3 KiB
Nix
{ mkDerivation, aeson, annotated-exception, async, base, bytestring
|
|
, cereal, cereal-conduit, cereal-text, conduit, containers
|
|
, data-default, directory, ekg-core, exceptions, filepath, hedgehog
|
|
, hspec, hspec-hedgehog, http-media, http-types, katip, lens
|
|
, lens-aeson, lib, libsystemd-journal, network, process, retry
|
|
, servant, servant-server, stm, temporary, text, time, unliftio
|
|
, unordered-containers, uuid, wai, warp, websockets
|
|
}:
|
|
mkDerivation {
|
|
pname = "home-assistant-controller";
|
|
version = "0.1.0.0";
|
|
src = ./.;
|
|
isLibrary = true;
|
|
isExecutable = true;
|
|
libraryHaskellDepends = [
|
|
aeson annotated-exception async base bytestring cereal
|
|
cereal-conduit cereal-text conduit containers data-default
|
|
directory ekg-core exceptions filepath http-media http-types katip
|
|
lens lens-aeson libsystemd-journal 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
|
|
data-default 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";
|
|
}
|