cldr-annotations: 40.0 -> 41.0

https://cldr.unicode.org/index/downloads/cldr-41
This commit is contained in:
D Anzorge 2022-04-08 21:03:22 +02:00
parent 8be8cc6a7b
commit ff2aff2a1b

View File

@ -1,18 +1,18 @@
{ lib, fetchzip }:
let
version = "40.0";
version = "41.0";
in fetchzip rec {
name = "cldr-annotations-${version}";
url = "https://unicode.org/Public/cldr/40/cldr-common-${version}.zip";
url = "https://unicode.org/Public/cldr/${lib.versions.major version}/cldr-common-${version}.zip";
postFetch = ''
mkdir -p $out/share/unicode/cldr
unzip -d $out/share/unicode/cldr $downloadedFile 'common/annotations/*' 'common/annotationsDerived/*'
'';
sha256 = "sha256-L4NSMNFYKJWV3qKQhio9eMABtDlLieT9VeMZfzeAkbM=";
sha256 = "sha256-3dHVZGx3FmR97fzhlTSx/xp6YTAV+sMExl6gpLzl1MY=";
meta = with lib; {
description = "Names and keywords for Unicode characters from the Common Locale Data Repository";