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