Merge pull request #2531 from jwiegley/djinn

Add an expression for the Haskell library djinn
This commit is contained in:
Peter Simons 2014-05-07 11:36:56 +02:00
commit af8d34c35e
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

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