Merge pull request #1715 from ocharles/haskellPackages.jsonAssertions

haskellPackages.jsonAssertions: New expression
This commit is contained in:
Peter Simons 2014-02-10 10:52:37 +01:00
commit cc8c7f61da
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,15 @@
{ cabal, aeson, indexed, indexedFree, lens, text }:
cabal.mkDerivation (self: {
pname = "json-assertions";
version = "1.0.1";
sha256 = "0rpj300knyk602wqkqipmy54xv3pn20cd06sa8irkf2wz0xribzm";
buildDepends = [ aeson indexed indexedFree lens text ];
meta = {
homepage = "http://github.com/ocharles/json-assertions.git";
description = "Test that your (Aeson) JSON encoding matches your expectations";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.ocharles ];
};
})

View File

@ -1510,6 +1510,11 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
json = callPackage ../development/libraries/haskell/json {};
jsonAssertions = callPackage ../development/libraries/haskell/json-assertions {
aeson = self.aeson_0_7_0_0;
lens = self.lens_4_0_1;
};
jsonTypes = callPackage ../development/libraries/haskell/jsonTypes {};
kansasLava = callPackage ../development/libraries/haskell/kansas-lava {};