nixpkgs-suyu/pkgs/development/libraries/haskell/lens/default.nix

25 lines
795 B
Nix
Raw Normal View History

2012-11-21 12:23:11 +01:00
{ cabal, comonad, comonadsFd, comonadTransformers, filepath
2013-01-09 16:52:02 +01:00
, hashable, mtl, nats, parallel, semigroups, split, text
, transformers, transformersCompat, unorderedContainers, vector
2012-11-21 12:23:11 +01:00
}:
cabal.mkDerivation (self: {
pname = "lens";
2013-01-09 16:52:02 +01:00
version = "3.7.3";
sha256 = "0mvwczviszfv52ylymvrz3zk6s05ngmqc2g1k4r6pym8s9cmgmzz";
2012-11-21 12:23:11 +01:00
buildDepends = [
2013-01-09 16:52:02 +01:00
comonad comonadsFd comonadTransformers filepath hashable mtl nats
parallel semigroups split text transformers transformersCompat
unorderedContainers vector
2012-11-21 12:23:11 +01:00
];
patchPhase = ''
sed -i -e 's|semigroups.*,|semigroups,|' lens.cabal
'';
2012-11-21 12:23:11 +01:00
meta = {
homepage = "http://github.com/ekmett/lens/";
description = "Lenses, Folds and Traversals";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})