Upgrade icu4c
svn path=/nixpkgs/trunk/; revision=23957
This commit is contained in:
parent
b9fb4fee61
commit
c30b4494fa
1 changed files with 9 additions and 15 deletions
|
@ -1,25 +1,19 @@
|
|||
{stdenv, fetchurl}:
|
||||
|
||||
let
|
||||
pname = "icu4c";
|
||||
version = "4.4.1";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "icu4c-4.2";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = http://download.icu-project.org/files/icu4c/4.2.1/icu4c-4_2_1-src.tgz;
|
||||
sha256 = "0qw050msb34wr522s7s83i6skxsc9i19p4rlvmf99pqk2hgf6kc1";
|
||||
url = "http://download.icu-project.org/files/${pname}/${version}/${pname}-"
|
||||
+ (stdenv.lib.replaceChars ["."] ["_"] version) + "-src.tgz";
|
||||
sha256 = "0qrhf9gsj38saxfzpzvlwp1jwdsxr06npdds5dbsc86shg0lz69l";
|
||||
};
|
||||
|
||||
patchFlags = "-p0";
|
||||
|
||||
CFLAGS = "-O0";
|
||||
CXXFLAGS = "-O0";
|
||||
|
||||
patches = [
|
||||
(fetchurl {
|
||||
url = "http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/dev-libs/icu/files/icu-3.8-setBreakType-public.diff?rev=1.1";
|
||||
sha256 = "09g39rzj3bdf2q9n47rzdlpcjyipip42swbjpb0gjzp439jv3wmk";
|
||||
})
|
||||
];
|
||||
|
||||
postUnpack = "
|
||||
sourceRoot=\${sourceRoot}/source
|
||||
echo Source root reset to \${sourceRoot}
|
||||
|
|
Loading…
Reference in a new issue