35 lines
1.4 KiB
Nix
35 lines
1.4 KiB
Nix
{ cabal, bifunctors, comonad, comonadsFd, comonadTransformers
|
|
, 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
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "lens";
|
|
version = "3.9.1";
|
|
sha256 = "141v7b5ag6jxnim1hdyxqi5m2sm1j5fpspkcs8qnznfcd33gyfja";
|
|
buildDepends = [
|
|
bifunctors comonad comonadsFd comonadTransformers contravariant
|
|
distributive filepath genericDeriving hashable
|
|
MonadCatchIOTransformers mtl parallel profunctorExtras profunctors
|
|
reflection semigroupoids semigroups split tagged text transformers
|
|
transformersCompat unorderedContainers vector void
|
|
];
|
|
testDepends = [
|
|
deepseq doctest filepath genericDeriving 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;
|
|
};
|
|
})
|