From ce11e602a1043e93229b2ea14c434547b0f30df2 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 25 Sep 2013 18:28:09 +0200 Subject: [PATCH] haskell-parsers: add version 0.9 --- .../libraries/haskell/parsers/default.nix | 17 +++++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 19 insertions(+) create mode 100644 pkgs/development/libraries/haskell/parsers/default.nix diff --git a/pkgs/development/libraries/haskell/parsers/default.nix b/pkgs/development/libraries/haskell/parsers/default.nix new file mode 100644 index 00000000000..dc42228df66 --- /dev/null +++ b/pkgs/development/libraries/haskell/parsers/default.nix @@ -0,0 +1,17 @@ +{ cabal, charset, doctest, filepath, text, transformers +, unorderedContainers +}: + +cabal.mkDerivation (self: { + pname = "parsers"; + version = "0.9"; + sha256 = "04lbayvdv2hax4s9sqlnia7jpzv1sgls41ylql0xbi2zhz5rvyyi"; + buildDepends = [ charset text transformers unorderedContainers ]; + testDepends = [ doctest filepath ]; + meta = { + homepage = "http://github.com/ekmett/parsers/"; + description = "Parsing combinators"; + 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 c998b47d968..61316a9f8c0 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1640,6 +1640,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x parsec3 = self.parsec_3_1_3; parsec = self.parsec3; + parsers = callPackage ../development/libraries/haskell/parsers {}; + parsimony = callPackage ../development/libraries/haskell/parsimony {}; Pathfinder = callPackage ../development/libraries/haskell/Pathfinder {};