haskell-aeson: update to version 0.7.0.6
Keep version 0.7.0.4 for builds with ghc <= 7.4.2.
This commit is contained in:
parent
82df69a1de
commit
ff6db963fc
@ -16,14 +16,10 @@ cabal.mkDerivation (self: {
|
||||
attoparsec HUnit QuickCheck testFramework testFrameworkHunit
|
||||
testFrameworkQuickcheck2 text time unorderedContainers vector
|
||||
];
|
||||
patchPhase = ''
|
||||
sed -i -e 's|scientific >=.*,|scientific,|' aeson.cabal
|
||||
'';
|
||||
meta = {
|
||||
homepage = "https://github.com/bos/aeson";
|
||||
description = "Fast JSON parsing and encoding";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
||||
};
|
||||
})
|
26
pkgs/development/libraries/haskell/aeson/0.7.0.6.nix
Normal file
26
pkgs/development/libraries/haskell/aeson/0.7.0.6.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ cabal, attoparsec, blazeBuilder, deepseq, dlist, hashable, HUnit
|
||||
, mtl, QuickCheck, scientific, syb, testFramework
|
||||
, testFrameworkHunit, testFrameworkQuickcheck2, text, time
|
||||
, unorderedContainers, vector
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "aeson";
|
||||
version = "0.7.0.6";
|
||||
sha256 = "0vsf9msz9iv7xvsnys5c0kbkldb0pvhiai02vz50b0d1kdsk2mb4";
|
||||
buildDepends = [
|
||||
attoparsec blazeBuilder deepseq dlist hashable mtl scientific syb
|
||||
text time unorderedContainers vector
|
||||
];
|
||||
testDepends = [
|
||||
attoparsec HUnit QuickCheck testFramework testFrameworkHunit
|
||||
testFrameworkQuickcheck2 text time unorderedContainers vector
|
||||
];
|
||||
meta = {
|
||||
homepage = "https://github.com/bos/aeson";
|
||||
description = "Fast JSON parsing and encoding";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
||||
};
|
||||
})
|
@ -46,7 +46,7 @@
|
||||
};
|
||||
|
||||
ghc742Prefs = self : super : ghc763Prefs self super // {
|
||||
aeson = super.aeson.override { blazeBuilder = self.blazeBuilder; };
|
||||
aeson = self.aeson_0_7_0_4.override { blazeBuilder = self.blazeBuilder; };
|
||||
attoparsec = self.attoparsec_0_11_3_1;
|
||||
extensibleExceptions = null; # core package in ghc <= 7.4.x
|
||||
hackageDb = super.hackageDb.override { Cabal = self.Cabal_1_16_0_3; };
|
||||
|
@ -138,9 +138,9 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
|
||||
|
||||
aes = callPackage ../development/libraries/haskell/aes {};
|
||||
|
||||
aeson = callPackage ../development/libraries/haskell/aeson {
|
||||
blazeBuilder = null;
|
||||
};
|
||||
aeson_0_7_0_4 = callPackage ../development/libraries/haskell/aeson/0.7.0.4.nix { blazeBuilder = null; };
|
||||
aeson_0_7_0_6 = callPackage ../development/libraries/haskell/aeson/0.7.0.6.nix { blazeBuilder = null; };
|
||||
aeson = self.aeson_0_7_0_6;
|
||||
|
||||
aesonPretty = callPackage ../development/libraries/haskell/aeson-pretty {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user