diff options
author | Peter Simons <simons@cryp.to> | 2012-12-10 11:24:10 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2012-12-10 12:43:46 +0100 |
commit | f9f9921d7cf42ac19dc7d731d02ea26e3232fb8c (patch) | |
tree | 840073854d48d15abd2999205a0407721cf8ffda | |
parent | a787cf28916b29fec087ace22ef1cacb0660ceb5 (diff) |
Add haskell-either version 3.0.2 and haskell-errors version 1.3.1.
-rw-r--r-- | pkgs/development/libraries/haskell/either/default.nix | 14 | ||||
-rw-r--r-- | pkgs/development/libraries/haskell/errors/default.nix | 13 | ||||
-rw-r--r-- | pkgs/top-level/haskell-packages.nix | 4 |
3 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/libraries/haskell/either/default.nix b/pkgs/development/libraries/haskell/either/default.nix new file mode 100644 index 0000000000000..3d293d3b86e60 --- /dev/null +++ b/pkgs/development/libraries/haskell/either/default.nix @@ -0,0 +1,14 @@ +{ cabal, semigroupoids, semigroups, transformers }: + +cabal.mkDerivation (self: { + pname = "either"; + version = "3.0.2"; + sha256 = "1s3rpxxqc9052hrmiznwqwxhl4826qzbgpivpv5acxfhm0w06lhg"; + buildDepends = [ semigroupoids semigroups transformers ]; + meta = { + homepage = "http://github.com/ekmett/either/"; + description = "Haskell 98 either monad transformer"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/development/libraries/haskell/errors/default.nix b/pkgs/development/libraries/haskell/errors/default.nix new file mode 100644 index 0000000000000..d2e68670eb0e9 --- /dev/null +++ b/pkgs/development/libraries/haskell/errors/default.nix @@ -0,0 +1,13 @@ +{ cabal, either, safe, transformers }: + +cabal.mkDerivation (self: { + pname = "errors"; + version = "1.3.1"; + sha256 = "0vfpnpkiz362bvjyaf35spfk3h6vw7xi1x3f8agzs7kmxrdvrfik"; + buildDepends = [ either safe transformers ]; + meta = { + description = "Simplified error-handling"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 6cdb7bd3468ce..c94267e1491aa 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -750,6 +750,10 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); erf = callPackage ../development/libraries/haskell/erf {}; + errors = callPackage ../development/libraries/haskell/errors {}; + + either = callPackage ../development/libraries/haskell/either {}; + exceptionMtl = callPackage ../development/libraries/haskell/exception-mtl {}; exceptionTransformers = callPackage ../development/libraries/haskell/exception-transformers {}; |