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