Merge pull request #196790 from DeeUnderscore/update/cldr-annotations-42.0

authored by Sandro and committed by GitHub 10904622 238db8df

+11 -7
+11 -7
pkgs/data/misc/cldr-annotations/default.nix
··· 1 { lib, fetchzip }: 2 3 - let 4 - version = "41.0"; 5 - in fetchzip rec { 6 - name = "cldr-annotations-${version}"; 7 8 url = "https://unicode.org/Public/cldr/${lib.versions.major version}/cldr-common-${version}.zip"; 9 10 postFetch = '' 11 - mkdir -p $out/share/unicode/cldr 12 - unzip -d $out/share/unicode/cldr $downloadedFile 'common/annotations/*' 'common/annotationsDerived/*' 13 ''; 14 15 - sha256 = "sha256-3dHVZGx3FmR97fzhlTSx/xp6YTAV+sMExl6gpLzl1MY="; 16 17 meta = with lib; { 18 description = "Names and keywords for Unicode characters from the Common Locale Data Repository";
··· 1 { lib, fetchzip }: 2 3 + fetchzip rec { 4 + pname = "cldr-annotations"; 5 + version = "42.0"; 6 7 url = "https://unicode.org/Public/cldr/${lib.versions.major version}/cldr-common-${version}.zip"; 8 9 + stripRoot = false; 10 postFetch = '' 11 + mkdir -p $out/share/unicode/cldr/common 12 + mv $out/common/annotations{,Derived} -t $out/share/unicode/cldr/common 13 + 14 + shopt -s extglob dotglob 15 + rm -rf $out/!(share) 16 + shopt -u extglob dotglob 17 ''; 18 19 + hash = "sha256-9OOd69nBaDSt+ilL3PTGpcQgC60PnHqd8/CYa2LgeI0="; 20 21 meta = with lib; { 22 description = "Names and keywords for Unicode characters from the Common Locale Data Repository";