2013-12-26 19:37:03 +00:00
|
|
|
{ cabal, monadControl, MonadRandom, mtl, semigroupoids, semigroups
|
|
|
|
, transformers, transformersBase
|
2013-01-30 10:29:40 +00:00
|
|
|
}:
|
2012-12-10 10:24:10 +00:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "either";
|
2014-02-10 10:05:59 +00:00
|
|
|
version = "4.1.1";
|
|
|
|
sha256 = "0wipgwrca7bm4rm843gc0p69f2hvm2z067mjrv8qvnivyxhy8i6k";
|
2013-01-30 10:29:40 +00:00
|
|
|
buildDepends = [
|
2013-12-26 19:37:03 +00:00
|
|
|
monadControl MonadRandom mtl semigroupoids semigroups transformers
|
|
|
|
transformersBase
|
2013-01-30 10:29:40 +00:00
|
|
|
];
|
2014-01-23 21:34:19 +00:00
|
|
|
noHaddock = self.stdenv.lib.versionOlder self.ghc.version "7.6";
|
2012-12-10 10:24:10 +00:00
|
|
|
meta = {
|
|
|
|
homepage = "http://github.com/ekmett/either/";
|
2013-01-30 10:29:40 +00:00
|
|
|
description = "An either monad transformer";
|
2012-12-10 10:24:10 +00:00
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|