Add an expression for the Haskell library djinn

This commit is contained in:
John Wiegley 2014-05-05 19:48:50 -05:00
parent 66bcd77f0e
commit 7848f96b58
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,19 @@
{ cabal, haskeline, mtl }:
cabal.mkDerivation (self: {
pname = "djinn";
version = "2011.7.23";
sha256 = "14748pqzrd1r9jg2vc9v232pi38q99l9zdlia6ashm2v871hp1xv";
isLibrary = false;
isExecutable = true;
buildDepends = [ haskeline mtl ];
preConfigure = self.stdenv.lib.optionalString self.stdenv.isDarwin ''
sed -i 's/-Wall -optl-Wl/-Wall/' djinn.cabal
'';
meta = {
homepage = "http://www.augustsson.net/Darcs/Djinn/";
description = "Generate Haskell code from a type";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -1008,6 +1008,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
distributive = callPackage ../development/libraries/haskell/distributive {};
djinn = callPackage ../development/libraries/haskell/djinn {};
dlist = callPackage ../development/libraries/haskell/dlist {};
dlistInstances = callPackage ../development/libraries/haskell/dlist-instances {};