From 8a6914e65941684788144372fea351c3f913efd3 Mon Sep 17 00:00:00 2001 From: Oliver Charles Date: Tue, 25 Nov 2014 14:12:36 +0000 Subject: [PATCH] haskellPackages.snapErrorCollector: New expression --- .../haskell/snap-error-collector/default.nix | 22 +++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/development/libraries/haskell/snap-error-collector/default.nix diff --git a/pkgs/development/libraries/haskell/snap-error-collector/default.nix b/pkgs/development/libraries/haskell/snap-error-collector/default.nix new file mode 100644 index 000000000000..fae4082d2242 --- /dev/null +++ b/pkgs/development/libraries/haskell/snap-error-collector/default.nix @@ -0,0 +1,22 @@ +# This file was auto-generated by cabal2nix. Please do NOT edit manually! + +{ cabal, async, MonadCatchIOTransformers, monadLoops, snap, stm +, time, transformers +}: + +cabal.mkDerivation (self: { + pname = "snap-error-collector"; + version = "1.0.0"; + sha256 = "1rywfbc489kgbcm7svgrim3zihma5j9vy6cwhlc6dgvsb1rb37j2"; + buildDepends = [ + async MonadCatchIOTransformers monadLoops snap stm time + transformers + ]; + meta = { + homepage = "http://github.com/ocharles/snap-error-collector"; + description = "Collect errors in batches and dispatch them"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = with self.stdenv.lib.maintainers; [ ocharles ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 1252b54f0ebd..497374e2ce75 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -2238,6 +2238,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in snapletAcidState = callPackage ../development/libraries/haskell/snaplet-acid-state {}; + snapErrorCollector = callPackage ../development/libraries/haskell/snap-error-collector {}; + snapletPostgresqlSimple = callPackage ../development/libraries/haskell/snaplet-postgresql-simple {}; snapletRedis = callPackage ../development/libraries/haskell/snaplet-redis {};