15 lines
505 B
Nix
15 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 ];
|
|
};
|
|
})
|