summary refs log tree commit diff
path: root/pkgs/data/misc/cldr-annotations
diff options
context:
space:
mode:
authorD Anzorge <d.anzorge@gmail.com>2022-03-29 01:45:33 +0200
committerD Anzorge <d.anzorge@gmail.com>2022-04-03 22:43:05 +0200
commit36a2f67a648df7aeedc1f04dc4401b79d493a32d (patch)
treeac201e7c00cb0335075dbcce18e3a5d231f8aefe /pkgs/data/misc/cldr-annotations
parent63c705fda998ea99607d8aaa8553c1b4174d5f7d (diff)
downloadnixpkgs-36a2f67a648df7aeedc1f04dc4401b79d493a32d.tar
nixpkgs-36a2f67a648df7aeedc1f04dc4401b79d493a32d.tar.gz
nixpkgs-36a2f67a648df7aeedc1f04dc4401b79d493a32d.tar.bz2
nixpkgs-36a2f67a648df7aeedc1f04dc4401b79d493a32d.tar.lz
nixpkgs-36a2f67a648df7aeedc1f04dc4401b79d493a32d.tar.xz
nixpkgs-36a2f67a648df7aeedc1f04dc4401b79d493a32d.tar.zst
nixpkgs-36a2f67a648df7aeedc1f04dc4401b79d493a32d.zip
cldr-annotations: init at 40.0
Diffstat (limited to 'pkgs/data/misc/cldr-annotations')
-rw-r--r--pkgs/data/misc/cldr-annotations/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/data/misc/cldr-annotations/default.nix b/pkgs/data/misc/cldr-annotations/default.nix
new file mode 100644
index 00000000000..14c8d36f28b
--- /dev/null
+++ b/pkgs/data/misc/cldr-annotations/default.nix
@@ -0,0 +1,24 @@
+{ lib, fetchzip }:
+
+let
+  version = "40.0";
+in fetchzip rec {
+  name = "cldr-annotations-${version}";
+
+  url = "https://unicode.org/Public/cldr/40/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=";
+
+  meta = with lib; {
+    description = "Names and keywords for Unicode characters from the Common Locale Data Repository";
+    homepage = "https://cldr.unicode.org";
+    license = licenses.unicode-dfs-2016;
+    platforms = platforms.all;
+    maintainers = with maintainers; [ DeeUnderscore ];
+  };
+}