2012-02-16 15:05:41 +01:00
|
|
|
{ cabal, pcre, regexBase }:
|
2011-04-01 01:21:36 +02:00
|
|
|
|
2011-08-10 01:00:20 +02:00
|
|
|
cabal.mkDerivation (self: {
|
2011-04-01 01:21:36 +02:00
|
|
|
pname = "regex-pcre";
|
2012-05-28 12:23:20 +02:00
|
|
|
version = "0.94.3";
|
|
|
|
sha256 = "0ljng60s05ssy8pi4qnpcx5c1wrn6m35d77lq0xyafmj68cg4a2r";
|
2012-02-16 15:05:41 +01:00
|
|
|
buildDepends = [ regexBase ];
|
2011-08-10 01:00:20 +02:00
|
|
|
extraLibraries = [ pcre ];
|
2012-05-28 12:23:20 +02:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e '/Include-Dirs:/d' -e '/Extra-Lib-Dirs:/d' regex-pcre.cabal
|
|
|
|
'';
|
2011-04-01 01:21:36 +02:00
|
|
|
meta = {
|
2011-08-10 01:00:20 +02:00
|
|
|
homepage = "http://sourceforge.net/projects/lazy-regex";
|
2011-04-01 01:21:36 +02:00
|
|
|
description = "Replaces/Enhances Text.Regex";
|
2011-08-10 01:00:20 +02:00
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
2012-03-24 11:21:28 +01:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2011-04-01 01:21:36 +02:00
|
|
|
};
|
|
|
|
})
|