icu4c: 58.2 -> 59.1

gstqt5
taku0 2017-09-29 08:53:04 +09:00
parent 6e2744ab0f
commit a9d2c56df2
1 changed files with 2 additions and 14 deletions

View File

@ -2,15 +2,7 @@
let
pname = "icu4c";
version = "58.2";
# this patch should no longer be needed in 58.3
# https://bugs.gentoo.org/show_bug.cgi?id=599142#c14
keywordFix = fetchurl {
url = "http://bugs.icu-project.org/trac/changeset/39484?format=diff";
name = "icu-changeset-39484.diff";
sha256 = "0hxhpgydalyxacaaxlmaddc1sjwh65rsnpmg0j414mnblq74vmm8";
};
version = "59.1";
in
stdenv.mkDerivation {
name = pname + "-" + version;
@ -18,7 +10,7 @@ stdenv.mkDerivation {
src = fetchurl {
url = "http://download.icu-project.org/files/${pname}/${version}/${pname}-"
+ (stdenv.lib.replaceChars ["."] ["_"] version) + "-src.tgz";
sha256 = "036shcb3f8bm1lynhlsb4kpjm9s9c2vdiir01vg216rs2l8482ib";
sha256 = "1zkmbg2932ggvpgjp8pys0cj6z8bw087y8858009shkrjfpzscki";
};
outputs = [ "out" "dev" ];
@ -33,10 +25,6 @@ stdenv.mkDerivation {
echo Source root reset to ''${sourceRoot}
'';
patchFlags = "-p4";
patches = [ keywordFix ];
preConfigure = ''
sed -i -e "s|/bin/sh|${stdenv.shell}|" configure
'' + stdenv.lib.optionalString stdenv.isArm ''