1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00
nixpkgs/pkgs/development/libraries/re2/default.nix
Tobias Geerinckx-Rice 158e1cfdd0 Don't use "with licenses;" for single licences
And don't use square brackets on such lines.
2015-05-28 19:20:29 +02:00

23 lines
567 B
Nix

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