nixpkgs/pkgs/development/libraries/haskell/multiplate/default.nix
Peter Simons 0b56a39d46 haskell-multiplate: patched to support current mtl and transformers
svn path=/nixpkgs/trunk/; revision=34289
2012-05-29 21:26:15 +00:00

19 lines
610 B
Nix

{ cabal, transformers }:
cabal.mkDerivation (self: {
pname = "multiplate";
version = "0.0.1.1";
sha256 = "00rxgkvgx1rfvk15gjyyg00vqyg4j24d8d19q6rj07j2mgfvdxw6";
buildDepends = [ transformers ];
patchPhase = ''
sed -i -e 's|transformers >= 0.2 && < 0.3|transformers|' multiplate.cabal
'';
meta = {
homepage = "http://haskell.org/haskellwiki/Multiplate";
description = "Lightweight generic library for mutually recursive data types";
license = self.stdenv.lib.licenses.mit;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})