1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 19:15:39 +00:00
nixpkgs/pkgs/development/libraries/re2/default.nix

23 lines
573 B
Nix

{ 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;
};
}