about summary refs log tree commit diff
path: root/pkgs/data/fonts/linja-pi-pu-lukin/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/data/fonts/linja-pi-pu-lukin/default.nix')
-rw-r--r--pkgs/data/fonts/linja-pi-pu-lukin/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/data/fonts/linja-pi-pu-lukin/default.nix b/pkgs/data/fonts/linja-pi-pu-lukin/default.nix
new file mode 100644
index 0000000000000..426acd2668d75
--- /dev/null
+++ b/pkgs/data/fonts/linja-pi-pu-lukin/default.nix
@@ -0,0 +1,23 @@
+{ lib, fetchurl }:
+
+fetchurl {
+  pname = "linja-pi-pu-lukin";
+  version = "unstable-2021-10-29";
+
+  url = "https://web.archive.org/web/20211029000000/https://jansa-tp.github.io/linja-pi-pu-lukin/PuLukin.otf";
+  hash = "sha256-VPdrMHWpiokFYON4S8zT+pSs4TsB17S8TZRtkjqIqU8=";
+
+  downloadToTemp = true;
+  recursiveHash = true;
+  postFetch = ''
+    install -D $downloadedFile $out/share/fonts/opentype/linja-pi-pu-lukin.otf
+  '';
+
+  meta = with lib; {
+    description = "A sitelen pona font resembling the style found in Toki Pona: The Language of Good (lipu pu), by jan Sa.";
+    homepage = "https://jansa-tp.github.io/linja-pi-pu-lukin/";
+    license = licenses.unfree; # license is unspecified in repository
+    platforms = platforms.all;
+    maintainers = with maintainers; [ somasis ];
+  };
+}