Files
home-assistant-controller/default.nix
T

23 lines
701 B
Nix

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