2013-07-01 11:04:04 +02:00
|
|
|
{ cabal, base64Bytestring, blazeBuilder, filepath, hspec, random
|
2014-04-04 23:19:52 +02:00
|
|
|
, sendmail ? "sendmail", text
|
2013-07-01 11:04:04 +02:00
|
|
|
}:
|
2011-08-08 00:51:22 +02:00
|
|
|
|
2011-08-10 01:00:20 +02:00
|
|
|
cabal.mkDerivation (self: {
|
2011-08-08 00:51:22 +02:00
|
|
|
pname = "mime-mail";
|
2014-04-28 19:17:43 +02:00
|
|
|
version = "0.4.5.2";
|
|
|
|
sha256 = "0s5fj20n3lc2hn1mqpsvai63pgrl7vhqv26psdzqdwl70w9c04zf";
|
2012-02-14 18:00:37 +01:00
|
|
|
buildDepends = [
|
2012-02-16 15:05:41 +01:00
|
|
|
base64Bytestring blazeBuilder filepath random text
|
2012-02-14 18:00:37 +01:00
|
|
|
];
|
2013-08-14 11:52:03 +02:00
|
|
|
testDepends = [ blazeBuilder hspec text ];
|
2014-04-04 23:19:52 +02:00
|
|
|
configureFlags = "--ghc-option=-DMIME_MAIL_SENDMAIL_PATH=\"${sendmail}\"";
|
2011-08-08 00:51:22 +02:00
|
|
|
meta = {
|
|
|
|
homepage = "http://github.com/snoyberg/mime-mail";
|
2011-08-11 15:03:51 +02:00
|
|
|
description = "Compose MIME email messages";
|
2011-08-08 00:51:22 +02:00
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
2011-08-09 11:54:50 +02:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2013-05-11 00:36:36 +02:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2011-08-08 00:51:22 +02:00
|
|
|
};
|
|
|
|
})
|