summary refs log tree commit diff
path: root/pkgs/development/libraries/haskell/exceptions/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/haskell/exceptions/default.nix')
-rw-r--r--pkgs/development/libraries/haskell/exceptions/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/libraries/haskell/exceptions/default.nix b/pkgs/development/libraries/haskell/exceptions/default.nix
new file mode 100644
index 000000000000..a15c2cc1e48f
--- /dev/null
+++ b/pkgs/development/libraries/haskell/exceptions/default.nix
@@ -0,0 +1,21 @@
+{ cabal, mtl, QuickCheck, testFramework, testFrameworkQuickcheck2
+, transformers
+}:
+
+cabal.mkDerivation (self: {
+  pname = "exceptions";
+  version = "0.3.2";
+  sha256 = "0c1d78wm8is9kyv26drbx3f1sq2bfcq5m6wfw2qzwgalb3z2kxlw";
+  buildDepends = [ mtl transformers ];
+  testDepends = [
+    mtl QuickCheck testFramework testFrameworkQuickcheck2 transformers
+  ];
+  doCheck = false;
+  meta = {
+    homepage = "http://github.com/ekmett/exceptions/";
+    description = "Extensible optionally-pure exceptions";
+    license = "unknown";
+    platforms = self.ghc.meta.platforms;
+    maintainers = [ self.stdenv.lib.maintainers.ocharles ];
+  };
+})