image-backup/default.nix

20 lines
597 B
Nix

{ mkDerivation, amazonka, amazonka-s3, base, bytestring, conduit
, cryptonite, directory, ekg-core, filepath, lib, mtl, servant
, servant-server, sqlite-simple, text
}:
mkDerivation {
pname = "image-backup";
version = "0.1.0.0";
src = ./.;
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
amazonka amazonka-s3 base bytestring conduit cryptonite directory
ekg-core filepath mtl servant servant-server sqlite-simple text
];
executableHaskellDepends = [ base ];
testHaskellDepends = [ base ];
license = lib.licenses.bsd3;
mainProgram = "image-backup";
}