summary refs log tree commit diff
path: root/pkgs/development/libraries/haskell/newtype/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/haskell/newtype/default.nix')
-rw-r--r--pkgs/development/libraries/haskell/newtype/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/development/libraries/haskell/newtype/default.nix b/pkgs/development/libraries/haskell/newtype/default.nix
new file mode 100644
index 000000000000..40354c9472ce
--- /dev/null
+++ b/pkgs/development/libraries/haskell/newtype/default.nix
@@ -0,0 +1,12 @@
+{ cabal }:
+
+cabal.mkDerivation (self: {
+  pname = "newtype";
+  version = "0.2";
+  sha256 = "0ng4i5r73256gzwl6bw57h0abqixj783c3ggph1hk2wsplx0655p";
+  meta = {
+    description = "A typeclass and set of functions for working with newtypes";
+    license = self.stdenv.lib.licenses.bsd3;
+    platforms = self.ghc.meta.platforms;
+  };
+})