2011-08-10 01:00:20 +02:00
|
|
|
{ cabal, mtl, parsec, syb }:
|
2009-05-06 01:06:01 +02:00
|
|
|
|
2011-08-10 01:00:20 +02:00
|
|
|
cabal.mkDerivation (self: {
|
2009-05-06 01:06:01 +02:00
|
|
|
pname = "json";
|
2011-09-20 22:30:20 +02:00
|
|
|
version = "0.5";
|
|
|
|
sha256 = "12jbvq0lp7z5q6g94pv8s5455yydfyh9h2xlr76wqzfh3myvy6fl";
|
2011-08-10 01:00:20 +02:00
|
|
|
buildDepends = [ mtl parsec syb ];
|
2012-02-09 15:38:03 +01:00
|
|
|
patchPhase = "sed -i json.cabal -e '1iExtensions: FlexibleInstances'";
|
2009-05-06 01:06:01 +02:00
|
|
|
meta = {
|
|
|
|
description = "Support for serialising Haskell to and from JSON";
|
2011-08-10 01:00:20 +02: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-06 01:06:01 +02:00
|
|
|
};
|
2011-03-28 17:04:00 +02:00
|
|
|
})
|