nixpkgs/pkgs/development/libraries/haskell/ghc-events/default.nix
Andres Löh 4d7e4334d9 Patching ghc-events to work with latest mtl.
svn path=/nixpkgs/trunk/; revision=34377
2012-06-07 10:58:24 +00:00

21 lines
577 B
Nix

{ cabal, binary, mtl }:
cabal.mkDerivation (self: {
pname = "ghc-events";
version = "0.4.0.0";
sha256 = "0q1r5jxk8ma8rg65n4iixl5zyk4nxpzi4ywf0jz8y1nbbhbas7g2";
isLibrary = true;
isExecutable = true;
buildDepends = [ binary mtl ];
patchPhase = ''
sed -i -e 's|mtl *>=.*$|mtl,|' ghc-events.cabal
'';
noHaddock = true;
meta = {
description = "Library and tool for parsing .eventlog files from GHC";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})