19 lines
555 B
Nix
19 lines
555 B
Nix
{ mkDerivation, aeson, 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 base bytestring lens lens-aeson network stm text time
|
|
websockets
|
|
];
|
|
executableHaskellDepends = [ base ];
|
|
testHaskellDepends = [ aeson base hspec stm text ];
|
|
license = lib.meta.getLicenseFromSpdxId "BSD-3-Clause";
|
|
mainProgram = "home-assistant-controller";
|
|
}
|