1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00
nixpkgs/pkgs/development/libraries/pcre/default.nix
Yury G. Kudryashov 82b608d93f Added optional unicode support to pcre. Building old (non-unicode) package by
default.

svn path=/nixpkgs/trunk/; revision=9386
2007-10-01 15:07:55 +00:00

15 lines
363 B
Nix

args: with args;
stdenv.mkDerivation ({
name = "pcre-7.1";
src = fetchurl {
url = ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-7.1.tar.bz2;
sha256 = "0rpkcw07jas3fw6ava3ni5zcrmbncwa8xlsa0lzq6z2iph5510li";
};
}
// (if unicodeSupport then
{
configureFlags = "--enable-unicode-properties --enable-shared --disable-static";
}
else {}))