2013-01-30 11:29:40 +01:00
|
|
|
{ cabal, MonadRandom, mtl, semigroupoids, semigroups, transformers
|
|
|
|
}:
|
2012-12-10 11:24:10 +01:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "either";
|
2013-01-30 11:29:40 +01:00
|
|
|
version = "3.1";
|
|
|
|
sha256 = "1paglfhd2xjr32sh5npl3kvamv4nps9fpy0wk9ya0l26w4c3bdsm";
|
|
|
|
buildDepends = [
|
|
|
|
MonadRandom mtl semigroupoids semigroups transformers
|
|
|
|
];
|
2012-12-10 11:24:10 +01:00
|
|
|
meta = {
|
|
|
|
homepage = "http://github.com/ekmett/either/";
|
2013-01-30 11:29:40 +01:00
|
|
|
description = "An either monad transformer";
|
2012-12-10 11:24:10 +01:00
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|