nixpkgs/pkgs/development/libraries/haskell/json/default.nix
2012-09-11 18:22:31 +02:00

16 lines
505 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 ];
};
})