From 6ded64bd05049ec5b0973131e5cf3eedeaad558c Mon Sep 17 00:00:00 2001 From: Hoang Xuan Phu Date: Fri, 15 Aug 2014 22:14:23 +0800 Subject: [PATCH] add HaskellNet-SSL --- .../libraries/haskell/HaskellNet-SSL/default.nix | 14 ++++++++++++++ pkgs/top-level/haskell-packages.nix | 1 + 2 files changed, 15 insertions(+) create mode 100644 pkgs/development/libraries/haskell/HaskellNet-SSL/default.nix diff --git a/pkgs/development/libraries/haskell/HaskellNet-SSL/default.nix b/pkgs/development/libraries/haskell/HaskellNet-SSL/default.nix new file mode 100644 index 00000000000..820159bb05f --- /dev/null +++ b/pkgs/development/libraries/haskell/HaskellNet-SSL/default.nix @@ -0,0 +1,14 @@ +{ cabal, connection, dataDefault, HaskellNet, network, tls }: + +cabal.mkDerivation (self: { + pname = "HaskellNet-SSL"; + version = "0.2.4"; + sha256 = "0rwj69rz8i84qj6n1zd9fllp4333azfxppd7blzd486bczzkgkbb"; + buildDepends = [ connection dataDefault HaskellNet network tls ]; + meta = { + homepage = "https://github.com/dpwright/HaskellNet-SSL"; + description = "Helpers to connect to SSL/TLS mail servers with HaskellNet"; + 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 38de9fb1758..326c68724c9 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1047,6 +1047,7 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in haskellNames = callPackage ../development/libraries/haskell/haskell-names {}; HaskellNet = callPackage ../development/libraries/haskell/HaskellNet {}; + HaskellNetSSL = callPackage ../development/libraries/haskell/HaskellNet-SSL {}; haskellPackages = callPackage ../development/libraries/haskell/haskell-packages {};