2014-02-02 21:35:43 +00:00
|
|
|
{ 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";
|
2014-02-10 10:04:08 +00:00
|
|
|
version = "4.0.2";
|
|
|
|
sha256 = "0j5lmyd7myaaz71kxwznr10wz5ww3j6faiik4hjvd74v658i34r5";
|
2014-02-02 21:35:43 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
})
|