haskell-lens: add version 4.0

This commit is contained in:
Peter Simons 2014-02-02 22:35:43 +01:00
parent f16f44662f
commit e3651da23e
3 changed files with 38 additions and 1 deletions

View File

@ -0,0 +1,35 @@
{ cabal, aeson, bifunctors, comonad, constraints, contravariant
, deepseq, distributive, doctest, exceptions, filepath
, genericDeriving, hashable, hlint, HUnit, mtl, nats, parallel
, primitive, profunctors, QuickCheck, reflection, scientific
, semigroupoids, semigroups, simpleReflect, split, tagged
, testFramework, testFrameworkHunit, testFrameworkQuickcheck2
, testFrameworkTh, text, transformers, transformersCompat
, unorderedContainers, utf8String, vector, void, zlib
}:
cabal.mkDerivation (self: {
pname = "lens";
version = "4.0";
sha256 = "1mrpbwnj1k2my71lm0ajxsx5r44sz372gfxn78vz4182yv3bmla1";
buildDepends = [
aeson bifunctors comonad constraints contravariant distributive
exceptions filepath hashable mtl parallel primitive profunctors
reflection scientific semigroupoids semigroups split tagged text
transformers transformersCompat unorderedContainers utf8String
vector void zlib
];
testDepends = [
deepseq doctest filepath genericDeriving hlint HUnit mtl nats
parallel QuickCheck semigroups simpleReflect split testFramework
testFrameworkHunit testFrameworkQuickcheck2 testFrameworkTh text
transformers unorderedContainers vector
];
doCheck = false;
meta = {
homepage = "http://github.com/ekmett/lens/";
description = "Lenses, Folds and Traversals";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -1532,7 +1532,9 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
leksahServer = callPackage ../development/libraries/haskell/leksah/leksah-server.nix {};
lens = callPackage ../development/libraries/haskell/lens {};
lens_3_10_2 = callPackage ../development/libraries/haskell/lens/3.10.2.nix {};
lens_4_0 = callPackage ../development/libraries/haskell/lens/4.0.nix {};
lens = self.lens_3_10_2;
lensAeson = callPackage ../development/libraries/haskell/lens-aeson {};