forked from mirrors/nixpkgs
23 lines
723 B
Nix
23 lines
723 B
Nix
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
|
|
|
|
{ cabal, base64Bytestring, blazeBuilder, filepath, hspec, random
|
|
, sendmail ? "sendmail", text
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "mime-mail";
|
|
version = "0.4.6";
|
|
sha256 = "051mqpzypg4r6rd06qb75pl3nq9p68r1sl73r0pwl1imcp158aw6";
|
|
buildDepends = [
|
|
base64Bytestring blazeBuilder filepath random text
|
|
];
|
|
testDepends = [ blazeBuilder hspec text ];
|
|
configureFlags = "--ghc-option=-DMIME_MAIL_SENDMAIL_PATH=\"${sendmail}\"";
|
|
meta = {
|
|
homepage = "http://github.com/snoyberg/mime-mail";
|
|
description = "Compose MIME email messages";
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
platforms = self.ghc.meta.platforms;
|
|
};
|
|
})
|