summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJan Malakhovski <oxij@oxij.org>2014-02-06 01:18:43 +0000
committerJan Malakhovski <oxij@oxij.org>2014-02-07 16:46:21 +0000
commita8db8e15e60d4704371a5d885a14d35d3aada56c (patch)
treed59b9c4db31e72a4afec472bbe938038765ea3d3 /pkgs
parent515d4ad8fe2743ea71f6871de586ac73eadf7e09 (diff)
downloadnixlib-a8db8e15e60d4704371a5d885a14d35d3aada56c.tar
nixlib-a8db8e15e60d4704371a5d885a14d35d3aada56c.tar.gz
nixlib-a8db8e15e60d4704371a5d885a14d35d3aada56c.tar.bz2
nixlib-a8db8e15e60d4704371a5d885a14d35d3aada56c.tar.lz
nixlib-a8db8e15e60d4704371a5d885a14d35d3aada56c.tar.xz
nixlib-a8db8e15e60d4704371a5d885a14d35d3aada56c.tar.zst
nixlib-a8db8e15e60d4704371a5d885a14d35d3aada56c.zip
add haskellPackages.ixdopp
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/haskell/ixdopp/default.nix16
-rw-r--r--pkgs/top-level/haskell-packages.nix4
2 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/libraries/haskell/ixdopp/default.nix b/pkgs/development/libraries/haskell/ixdopp/default.nix
new file mode 100644
index 000000000000..94bfa0185536
--- /dev/null
+++ b/pkgs/development/libraries/haskell/ixdopp/default.nix
@@ -0,0 +1,16 @@
+{ cabal, preprocessorTools, syb }:
+
+cabal.mkDerivation (self: {
+  pname = "ixdopp";
+  version = "0.1.3";
+  sha256 = "1vknwznk42b33q4pmh6z620g761yf3cmsmrmhilgq42i5qhll4d4";
+  isLibrary = false;
+  isExecutable = true;
+  buildDepends = [ preprocessorTools ];
+  meta = {
+    homepage = "http://www.eecs.harvard.edu/~tov/pubs/haskell-session-types/";
+    description = "Expands a Haskell program using ixdo notation into a Haskell program using the indexed monad bind operator (>>>=)";
+    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 ef0dc8b8a587..793656c15bf9 100644
--- a/pkgs/top-level/haskell-packages.nix
+++ b/pkgs/top-level/haskell-packages.nix
@@ -1489,6 +1489,10 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
 
   ivor = callPackage ../development/libraries/haskell/ivor {};
 
+  ixdopp = callPackage ../development/libraries/haskell/ixdopp {
+    preprocessorTools = self.preprocessorTools_0_1_3;
+  };
+
   ixShapable = callPackage ../development/libraries/haskell/ix-shapable {};
 
   JuicyPixels = callPackage ../development/libraries/haskell/JuicyPixels {};