2012-11-21 11:23:11 +00:00
|
|
|
{ cabal, comonad, comonadsFd, comonadTransformers, filepath
|
2013-01-09 15:52:02 +00:00
|
|
|
, hashable, mtl, nats, parallel, semigroups, split, text
|
|
|
|
, transformers, transformersCompat, unorderedContainers, vector
|
2012-11-21 11:23:11 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "lens";
|
2013-01-09 15:52:02 +00:00
|
|
|
version = "3.7.3";
|
|
|
|
sha256 = "0mvwczviszfv52ylymvrz3zk6s05ngmqc2g1k4r6pym8s9cmgmzz";
|
2012-11-21 11:23:11 +00:00
|
|
|
buildDepends = [
|
2013-01-09 15:52:02 +00:00
|
|
|
comonad comonadsFd comonadTransformers filepath hashable mtl nats
|
|
|
|
parallel semigroups split text transformers transformersCompat
|
|
|
|
unorderedContainers vector
|
2012-11-21 11:23:11 +00:00
|
|
|
];
|
2013-01-07 11:16:48 +00:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's|semigroups.*,|semigroups,|' 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;
|
|
|
|
};
|
|
|
|
})
|