23 lines
770 B
Nix
23 lines
770 B
Nix
{ mkDerivation, aeson, annotated-exception, async, base, bytestring
|
|
, containers, hedgehog, hspec, hspec-hedgehog, katip, lens
|
|
, lens-aeson, lib, network, stm, text, time, uuid, websockets
|
|
}:
|
|
mkDerivation {
|
|
pname = "home-assistant-controller";
|
|
version = "0.1.0.0";
|
|
src = ./.;
|
|
isLibrary = true;
|
|
isExecutable = true;
|
|
libraryHaskellDepends = [
|
|
aeson annotated-exception async base bytestring containers katip
|
|
lens lens-aeson network stm text time uuid websockets
|
|
];
|
|
executableHaskellDepends = [ base ];
|
|
testHaskellDepends = [
|
|
aeson annotated-exception async base containers hedgehog hspec
|
|
hspec-hedgehog katip stm text time uuid
|
|
];
|
|
license = lib.meta.getLicenseFromSpdxId "BSD-3-Clause";
|
|
mainProgram = "home-assistant-controller";
|
|
}
|