diff --git a/pkgs/development/libraries/haskell/pop3-client/default.nix b/pkgs/development/libraries/haskell/pop3-client/default.nix new file mode 100644 index 000000000000..6656814f64ff --- /dev/null +++ b/pkgs/development/libraries/haskell/pop3-client/default.nix @@ -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; + }; +}) diff --git a/pkgs/development/libraries/haskell/smtp-mail/default.nix b/pkgs/development/libraries/haskell/smtp-mail/default.nix new file mode 100644 index 000000000000..e07ed9e236b3 --- /dev/null +++ b/pkgs/development/libraries/haskell/smtp-mail/default.nix @@ -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; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 30b08114e360..9f99a49dd6d4 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -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 {};