Merge pull request #856 from offlinehacker/pkgs.re2

Add re2, an efficient, principled regular expression library
This commit is contained in:
Evgeny Egorochkin 2013-08-22 01:32:37 -07:00
commit d4cb9d11a1
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,22 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "re2";
version = "20130802";
src = fetchurl {
url = "https://re2.googlecode.com/files/${name}-${version}.tgz";
sha256 = "12yxbjsnc1ym7jny470wbnb6h3rgsfv0z75vdp12npklck5nmwhp";
};
preConfigure = ''
substituteInPlace Makefile --replace "/usr/local" "$out"
'';
meta = {
homepage = https://code.google.com/p/re2/;
description = "An efficient, principled regular expression library";
license = with stdenv.lib.licenses; bsd3;
platforms = with stdenv.lib.platforms; all;
};
}

View File

@ -5284,6 +5284,8 @@ let
ptlib = callPackage ../development/libraries/ptlib {};
re2 = callPackage ../development/libraries/re2 { };
qca2 = callPackage ../development/libraries/qca2 {};
qca2_ossl = callPackage ../development/libraries/qca2/ossl.nix {};