2011-08-09 23:00:20 +00:00
|
|
|
{ cabal, mtl, parsec, syb }:
|
2009-05-05 23:06:01 +00:00
|
|
|
|
2011-08-09 23:00:20 +00:00
|
|
|
cabal.mkDerivation (self: {
|
2009-05-05 23:06:01 +00:00
|
|
|
pname = "json";
|
2011-09-20 20:30:20 +00:00
|
|
|
version = "0.5";
|
|
|
|
sha256 = "12jbvq0lp7z5q6g94pv8s5455yydfyh9h2xlr76wqzfh3myvy6fl";
|
2011-08-09 23:00:20 +00:00
|
|
|
buildDepends = [ mtl parsec syb ];
|
2012-02-09 14:38:03 +00:00
|
|
|
patchPhase = "sed -i json.cabal -e '1iExtensions: FlexibleInstances'";
|
2009-05-05 23:06:01 +00:00
|
|
|
meta = {
|
|
|
|
description = "Support for serialising Haskell to and from JSON";
|
2011-08-09 23:00:20 +00:00
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
maintainers = [
|
|
|
|
self.stdenv.lib.maintainers.andres
|
|
|
|
self.stdenv.lib.maintainers.simons
|
|
|
|
];
|
2009-05-05 23:06:01 +00:00
|
|
|
};
|
2011-03-28 15:04:00 +00:00
|
|
|
})
|