diff --git a/pkgs/development/libraries/haskell/ex-pool/default.nix b/pkgs/development/libraries/haskell/ex-pool/default.nix new file mode 100644 index 000000000000..9bf966e749af --- /dev/null +++ b/pkgs/development/libraries/haskell/ex-pool/default.nix @@ -0,0 +1,17 @@ +{ cabal, exceptions, hashable, stm, time, transformers, vector }: + +cabal.mkDerivation (self: { + pname = "ex-pool"; + version = "0.1.0.2"; + sha256 = "11q63yfr59r6cfzi635xj75nhcc2yi83snc75k638wyamxgvxng4"; + buildDepends = [ + exceptions hashable stm time transformers vector + ]; + meta = { + homepage = "https://github.com/kim/ex-pool"; + description = "Another fork of resource-pool, with a MonadIO and MonadCatch constraint"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ self.stdenv.lib.maintainers.ocharles ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 96ac5ba1ea89..c8aa68c00fae 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -975,6 +975,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x esqueleto = callPackage ../development/libraries/haskell/esqueleto {}; + exPool = callPackage ../development/libraries/haskell/ex-pool { hashable = self.hashable_1_2_1_0; }; + exceptionMtl = callPackage ../development/libraries/haskell/exception-mtl {}; exceptionTransformers = callPackage ../development/libraries/haskell/exception-transformers {};