blob: 699a1b66f4872bef492218829f321f0d714faea8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{ mkDerivation, base, base64-bytestring, blaze-builder, bytestring
, fetchgit, filepath, hspec, process, random, sendmail ? "sendmail"
, stdenv, text
}:
mkDerivation {
pname = "mime-mail";
version = "0.4.6.2";
src = fetchgit {
url = "https://github.com/4z3/mime-mail";
sha256 = "00xlibw1rdaj71y1r7qhb8ypw5prbzyz4z3rynmv9gbxrp1kz0hw";
rev = "be4ec1958dac85bde01ae3433cb387810585c5fd";
};
buildDepends = [
base base64-bytestring blaze-builder bytestring filepath process
random text
];
testDepends = [ base blaze-builder bytestring hspec text ];
configureFlags = "--ghc-option=-DMIME_MAIL_SENDMAIL_PATH=\"${sendmail}\"";
homepage = "http://github.com/snoyberg/mime-mail";
description = "Compose MIME email messages";
license = stdenv.lib.licenses.mit;
}
|