added error handling to the web request (and changed from req to wreq)

This commit is contained in:
Dennis Frieberg 2025-06-07 03:33:27 +02:00
parent 6f50add62a
commit a460fd561f
Signed by: nerf
GPG key ID: 7C58AFED036072C5
5 changed files with 44 additions and 34 deletions

View file

@ -1,6 +1,6 @@
{ mkDerivation, base, bytestring, lib, mime-mail, modern-uri
, optparse-applicative, parsec, req, smtp-mail, text, time, tomland
, transformers
{ mkDerivation, base, bytestring, http-client, lens, lib, mime-mail
, optparse-applicative, parsec, smtp-mail, text, time, tomland
, transformers, wreq
}:
mkDerivation {
pname = "choirMail";
@ -9,8 +9,8 @@ mkDerivation {
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
base bytestring mime-mail modern-uri optparse-applicative parsec
req smtp-mail text time tomland transformers
base bytestring http-client lens mime-mail optparse-applicative
parsec smtp-mail text time tomland transformers wreq
];
homepage = ""https://git.nerfingen.de/nerf/choirMail"";
license = lib.licenses.gpl3Plus;