Merge pull request #70649 from wizeman/u/fix-ibus-ucd
ibus: use versioned URLs for UCD data
This commit is contained in:
@@ -50,18 +50,19 @@ let
|
|||||||
};
|
};
|
||||||
nativeBuildInputs = [ autoreconfHook ];
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
};
|
};
|
||||||
|
ucdVersion = "12.0.0";
|
||||||
ucdSrcs = {
|
ucdSrcs = {
|
||||||
NamesList = fetchurl {
|
NamesList = fetchurl {
|
||||||
url = "https://www.unicode.org/Public/UNIDATA/NamesList.txt";
|
url = "https://www.unicode.org/Public/${ucdVersion}/ucd/NamesList.txt";
|
||||||
sha256 = "c17c7726f562bd9ef869096807f0297e1edef9a58fdae1fbae487378fa43586f";
|
sha256 = "c17c7726f562bd9ef869096807f0297e1edef9a58fdae1fbae487378fa43586f";
|
||||||
};
|
};
|
||||||
Blocks = fetchurl {
|
Blocks = fetchurl {
|
||||||
url = "https://www.unicode.org/Public/UNIDATA/Blocks.txt";
|
url = "https://www.unicode.org/Public/${ucdVersion}/ucd/Blocks.txt";
|
||||||
sha256 = "a1a3ca4381eb91f7b65afe7cb7df615cdcf67993fef4b486585f66b349993a10";
|
sha256 = "a1a3ca4381eb91f7b65afe7cb7df615cdcf67993fef4b486585f66b349993a10";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
ucd = stdenv.mkDerivation {
|
ucd = stdenv.mkDerivation {
|
||||||
name = "ucd-12.0.0";
|
name = "ucd-${ucdVersion}";
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir $out
|
mkdir $out
|
||||||
|
|||||||
Reference in New Issue
Block a user