2011-08-10 01:00:20 +02:00
|
|
|
{ cabal, failure, monadPeel, transformers }:
|
2010-09-13 12:30:54 +02:00
|
|
|
|
2011-08-10 01:00:20 +02:00
|
|
|
cabal.mkDerivation (self: {
|
2010-09-13 12:30:54 +02:00
|
|
|
pname = "neither";
|
2011-03-13 09:46:54 +01:00
|
|
|
version = "0.2.0";
|
|
|
|
sha256 = "0a2lyx3dvgzj4g6p69x1fma4rmwxrykji3hc4diqgc4hx02p16jh";
|
2011-08-10 01:00:20 +02:00
|
|
|
buildDepends = [ failure monadPeel transformers ];
|
2010-09-13 12:30:54 +02:00
|
|
|
meta = {
|
2011-08-10 01:00:20 +02:00
|
|
|
homepage = "http://github.com/snoyberg/neither";
|
|
|
|
description = "Provide versions of Either with good monad and applicative instances.";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
maintainers = [
|
|
|
|
self.stdenv.lib.maintainers.andres
|
|
|
|
self.stdenv.lib.maintainers.simons
|
|
|
|
];
|
2010-09-13 12:30:54 +02:00
|
|
|
};
|
|
|
|
})
|