2023-02-15 20:34:05 +02:00
|
|
|
{ mkDerivation, aeson, amazonka, amazonka-s3, base, bytestring
|
|
|
|
, conduit, cryptonite, dhall, directory, either, ekg-core, filepath
|
|
|
|
, generic-lens, hedgehog, hspec, hspec-hedgehog, JuicyPixels
|
|
|
|
, JuicyPixels-extra, lens, lib, mtl, servant, servant-server
|
|
|
|
, sqlite-simple, text, unliftio, unordered-containers, vector, wai
|
|
|
|
, wai-middleware-metrics, warp
|
2023-02-12 14:19:45 +02:00
|
|
|
}:
|
|
|
|
mkDerivation {
|
|
|
|
pname = "image-backup";
|
|
|
|
version = "0.1.0.0";
|
|
|
|
src = ./.;
|
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
libraryHaskellDepends = [
|
2023-02-15 20:34:05 +02:00
|
|
|
amazonka amazonka-s3 base bytestring conduit cryptonite dhall
|
|
|
|
directory either ekg-core filepath generic-lens JuicyPixels
|
|
|
|
JuicyPixels-extra lens mtl servant servant-server sqlite-simple
|
|
|
|
text unliftio unordered-containers vector wai
|
2023-02-13 17:05:32 +02:00
|
|
|
wai-middleware-metrics warp
|
2023-02-12 14:19:45 +02:00
|
|
|
];
|
|
|
|
executableHaskellDepends = [ base ];
|
2023-02-15 20:34:05 +02:00
|
|
|
testHaskellDepends = [
|
|
|
|
aeson base dhall either hedgehog hspec hspec-hedgehog
|
|
|
|
];
|
2023-02-12 14:19:45 +02:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
mainProgram = "image-backup";
|
|
|
|
}
|