{ cabal, base64Bytestring, blazeBuilder, filepath, random, text }:

cabal.mkDerivation (self: {
  pname = "mime-mail";
  version = "0.4.1.1";
  sha256 = "01dshc6ysjkab9hl851948l6k0lwgm1fqmyk97zy7wckb252w6y4";
  buildDepends = [
    base64Bytestring blazeBuilder filepath random text
  ];
  meta = {
    homepage = "http://github.com/snoyberg/mime-mail";
    description = "Compose MIME email messages";
    license = self.stdenv.lib.licenses.bsd3;
    platforms = self.ghc.meta.platforms;
    maintainers = [ self.stdenv.lib.maintainers.andres ];
  };
})
