Added parsimony and polyparse, updated parsec.

svn path=/nixpkgs/trunk/; revision=17464
This commit is contained in:
Andres Löh 2009-09-28 11:29:19 +00:00
parent 48865a4aa6
commit 9669ae336a
4 changed files with 33 additions and 2 deletions

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : { cabal.mkDerivation (self : {
pname = "parsec"; pname = "parsec";
version = "3.0.0"; # Haskell Platform 2009.0.0 version = "3.0.1";
sha256 = "0fqryy09y8h7z0hlayg5gpavghgwa0g3bldynwl17ks8l87ykj7a"; sha256 = "619d0c2eb093cfe6d6caab2ff94f31a6208720b4bcc85b9f98600253bb505542";
propagatedBuildInputs = [mtl]; propagatedBuildInputs = [mtl];
meta = { meta = {
description = "Monadic parser combinators"; description = "Monadic parser combinators";

View File

@ -0,0 +1,12 @@
{cabal, utf8String}:
cabal.mkDerivation (self : {
pname = "parsimony";
version = "1";
sha256 = "8196029dc346470301f4535f678724412060a0aafd81b017211b57635a25a378";
propagatedBuildInputs = [utf8String];
meta = {
description = "Monadic parser combinators derived from Parsec";
};
})

View File

@ -0,0 +1,11 @@
{cabal}:
cabal.mkDerivation (self : {
pname = "polyparse";
version = "1.3";
sha256 = "6d82f08634f0856c7919c9413199f4d5f91e753a6d796a0b61e46d7cd1ce4a24";
meta = {
description = "A variety of alternative parser combinator libraries";
};
})

View File

@ -328,11 +328,19 @@ rec {
inherit cabal mtl; inherit cabal mtl;
}; };
parsimony = import ../development/libraries/haskell/parsimony {
inherit cabal utf8String;
};
pcreLight = import ../development/libraries/haskell/pcre-light { pcreLight = import ../development/libraries/haskell/pcre-light {
inherit cabal; inherit cabal;
inherit (pkgs) pcre; inherit (pkgs) pcre;
}; };
polyparse = import ../development/libraries/haskell/polyparse {
inherit cabal;
};
QuickCheck = QuickCheck1; QuickCheck = QuickCheck1;
QuickCheck1 = QuickCheck1200; QuickCheck1 = QuickCheck1200;
QuickCheck2 = QuickCheck2101; QuickCheck2 = QuickCheck2101;