nixpkgs-suyu/pkgs/development/libraries/haskell/json/default.nix
Peter Simons 1e8e60da41 haskell-json: fix build with GHC 7.4.x
svn path=/nixpkgs/trunk/; revision=32162
2012-02-09 14:38:03 +00:00

18 lines
556 B
Nix

{ cabal, mtl, parsec, syb }:
cabal.mkDerivation (self: {
pname = "json";
version = "0.5";
sha256 = "12jbvq0lp7z5q6g94pv8s5455yydfyh9h2xlr76wqzfh3myvy6fl";
buildDepends = [ mtl parsec syb ];
patchPhase = "sed -i json.cabal -e '1iExtensions: FlexibleInstances'";
meta = {
description = "Support for serialising Haskell to and from JSON";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})