mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
1e8e60da41
svn path=/nixpkgs/trunk/; revision=32162
19 lines
556 B
Nix
19 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
|
|
];
|
|
};
|
|
})
|