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