haskell: add pop3-client and smtp-mail (by cabal2nix)

This commit is contained in:
Vladimír Čunát 2013-05-28 11:06:33 +02:00
parent d73c8ed79d
commit 43d4e53cd2
3 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,14 @@
{ cabal, mtl, network }:
cabal.mkDerivation (self: {
pname = "pop3-client";
version = "0.1.4";
sha256 = "0kfcfxfwg5rjm7qx9r0ssdvkrvca95hflahrip1hi5wbplf224xv";
buildDepends = [ mtl network ];
meta = {
homepage = "https://github.com/tmrudick/haskell-pop3-client/";
description = "POP3 Client Library";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,19 @@
{ cabal, base16Bytestring, base64Bytestring, cryptohash, filepath
, mimeMail, network, text
}:
cabal.mkDerivation (self: {
pname = "smtp-mail";
version = "0.1.4.3";
sha256 = "0kpm42n7s3rvkn9i3s8wvkdrq2d85qy422y6p2r4s7nivh6sx1dk";
buildDepends = [
base16Bytestring base64Bytestring cryptohash filepath mimeMail
network text
];
meta = {
homepage = "http://github.com/jhickner/smtp-mail";
description = "Simple email sending via SMTP";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -1558,6 +1558,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
poolConduit = callPackage ../development/libraries/haskell/pool-conduit {};
pop3client = callPackage ../development/libraries/haskell/pop3-client {};
postgresqlLibpq = callPackage ../development/libraries/haskell/postgresql-libpq {
inherit (pkgs) postgresql;
};
@ -1727,6 +1729,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
smallcheck = callPackage ../development/libraries/haskell/smallcheck {};
smtpMail = callPackage ../development/libraries/haskell/smtp-mail {};
snap = callPackage ../development/libraries/haskell/snap/snap.nix {};
snapCore = callPackage ../development/libraries/haskell/snap/core.nix {};