2013-12-26 20:37:03 +01:00
|
|
|
{ cabal, monadControl, MonadRandom, mtl, semigroupoids, semigroups
|
|
|
|
, transformers, transformersBase
|
2013-01-30 11:29:40 +01:00
|
|
|
}:
|
2012-12-10 11:24:10 +01:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "either";
|
2014-05-15 16:08:34 +02:00
|
|
|
version = "4.1.2";
|
|
|
|
sha256 = "1c2dp22al9qq2w1xks5s3n8dcan9wpashvn24i4g8avs8yfrr5v4";
|
2013-01-30 11:29:40 +01:00
|
|
|
buildDepends = [
|
2013-12-26 20:37:03 +01:00
|
|
|
monadControl MonadRandom mtl semigroupoids semigroups transformers
|
|
|
|
transformersBase
|
2013-01-30 11:29:40 +01:00
|
|
|
];
|
2014-01-23 22:34:19 +01:00
|
|
|
noHaddock = self.stdenv.lib.versionOlder self.ghc.version "7.6";
|
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;
|
|
|
|
};
|
|
|
|
})
|