2014-06-03 11:35:38 +02:00
|
|
|
{ cabal, aeson, attoparsec, bifunctors, comonad, contravariant
|
|
|
|
, deepseq, distributive, doctest, exceptions, filepath, free
|
2014-03-20 09:38:46 +01:00
|
|
|
, genericDeriving, hashable, hlint, HUnit, mtl, nats, parallel
|
|
|
|
, primitive, profunctors, QuickCheck, reflection, scientific
|
|
|
|
, semigroupoids, semigroups, simpleReflect, split, tagged
|
|
|
|
, testFramework, testFrameworkHunit, testFrameworkQuickcheck2
|
|
|
|
, testFrameworkTh, text, transformers, transformersCompat
|
2014-06-03 11:35:38 +02:00
|
|
|
, unorderedContainers, vector, void, zlib
|
2014-02-02 22:35:43 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "lens";
|
2014-06-03 11:35:38 +02:00
|
|
|
version = "4.2";
|
|
|
|
sha256 = "0aqhr8akb7wg270jxi1ns3mrpv42cfssi3g2kzyhkjmb39qxpp2w";
|
2014-02-02 22:35:43 +01:00
|
|
|
buildDepends = [
|
2014-06-03 11:35:38 +02:00
|
|
|
aeson attoparsec bifunctors comonad contravariant distributive
|
|
|
|
exceptions filepath free hashable mtl parallel primitive
|
|
|
|
profunctors reflection scientific semigroupoids semigroups split
|
|
|
|
tagged text transformers transformersCompat unorderedContainers
|
2014-03-20 09:38:46 +01:00
|
|
|
vector void zlib
|
2014-02-02 22:35:43 +01:00
|
|
|
];
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
})
|