18 lines
501 B
Nix
18 lines
501 B
Nix
|
{ mkDerivation, aeson, base, bytestring, lens, lib
|
||
|
, optparse-generic, scalpel, sqlite-simple, telegram-bot-api
|
||
|
, telegram-bot-simple, text, wreq
|
||
|
}:
|
||
|
mkDerivation {
|
||
|
pname = "berlin-scraper";
|
||
|
version = "0.1.0.0";
|
||
|
src = ./.;
|
||
|
isLibrary = false;
|
||
|
isExecutable = true;
|
||
|
executableHaskellDepends = [
|
||
|
aeson base bytestring lens optparse-generic scalpel sqlite-simple
|
||
|
telegram-bot-api telegram-bot-simple text wreq
|
||
|
];
|
||
|
license = lib.licenses.agpl3Plus;
|
||
|
mainProgram = "berlin-scraper";
|
||
|
}
|