1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-14 16:46:09 +00:00
nixpkgs/pkgs/development/libraries/haskell/lens/default.nix

39 lines
1.5 KiB
Nix
Raw Normal View History

2013-01-25 13:54:29 +00:00
{ 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
2012-11-21 11:23:11 +00:00
}:
cabal.mkDerivation (self: {
pname = "lens";
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
transformersCompat unorderedContainers vector void
2012-11-21 11:23:11 +00:00
];
testDepends = [
deepseq doctest filepath genericDeriving HUnit mtl nats parallel
QuickCheck semigroups simpleReflect split testFramework
testFrameworkHunit testFrameworkQuickcheck2 testFrameworkTh text
transformers unorderedContainers vector
];
doCheck = false;
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;
};
})