haskell: add pop3-client and smtp-mail (by cabal2nix)
This commit is contained in:
parent
d73c8ed79d
commit
43d4e53cd2
14
pkgs/development/libraries/haskell/pop3-client/default.nix
Normal file
14
pkgs/development/libraries/haskell/pop3-client/default.nix
Normal 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;
|
||||
};
|
||||
})
|
19
pkgs/development/libraries/haskell/smtp-mail/default.nix
Normal file
19
pkgs/development/libraries/haskell/smtp-mail/default.nix
Normal 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;
|
||||
};
|
||||
})
|
@ -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 {};
|
||||
|
Loading…
Reference in New Issue
Block a user