2013-01-25 14:54:29 +01:00
|
|
|
{ cabal, bifunctors, comonad, comonadsFd, comonadTransformers
|
2013-02-24 22:09:07 +01:00
|
|
|
, contravariant, deepseq, distributive, doctest, filepath
|
|
|
|
, genericDeriving, hashable, HUnit, MonadCatchIOTransformers, mtl
|
|
|
|
, nats, parallel, profunctorExtras, profunctors, QuickCheck
|
|
|
|
, reflection, semigroupoids, semigroups, simpleReflect, split
|
|
|
|
, tagged, testFramework, testFrameworkHunit
|
|
|
|
, testFrameworkQuickcheck2, testFrameworkTh, text, transformers
|
|
|
|
, transformersCompat, unorderedContainers, vector, void
|
2012-11-21 12:23:11 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "lens";
|
2013-03-28 00:29:09 +01:00
|
|
|
version = "3.9.0.2";
|
|
|
|
sha256 = "0ch38z33zgdyzjmc7jqwabwq68iidicpzhbwzpd4fvcqdp27apl2";
|
2012-11-21 12:23:11 +01:00
|
|
|
buildDepends = [
|
2013-01-25 14:54:29 +01:00
|
|
|
bifunctors comonad comonadsFd comonadTransformers contravariant
|
|
|
|
distributive filepath genericDeriving hashable
|
|
|
|
MonadCatchIOTransformers mtl parallel profunctorExtras profunctors
|
|
|
|
reflection semigroupoids semigroups split tagged text transformers
|
2013-02-18 11:11:15 +01:00
|
|
|
transformersCompat unorderedContainers vector void
|
2012-11-21 12:23:11 +01:00
|
|
|
];
|
2013-02-24 22:09:07 +01:00
|
|
|
testDepends = [
|
|
|
|
deepseq doctest filepath genericDeriving HUnit mtl nats parallel
|
|
|
|
QuickCheck semigroups simpleReflect split testFramework
|
|
|
|
testFrameworkHunit testFrameworkQuickcheck2 testFrameworkTh text
|
|
|
|
transformers unorderedContainers vector
|
|
|
|
];
|
2013-02-25 00:57:13 +01:00
|
|
|
doCheck = false;
|
2013-08-03 10:32:39 +02:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's|generic-deriving.*,|generic-deriving,|' lens.cabal
|
|
|
|
'';
|
2012-11-21 12:23:11 +01:00
|
|
|
meta = {
|
|
|
|
homepage = "http://github.com/ekmett/lens/";
|
|
|
|
description = "Lenses, Folds and Traversals";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|