diff --git a/pkgs/data/fonts/sitelen-seli-kiwen/default.nix b/pkgs/data/fonts/sitelen-seli-kiwen/default.nix new file mode 100644 index 000000000000..60f5c3e36e76 --- /dev/null +++ b/pkgs/data/fonts/sitelen-seli-kiwen/default.nix @@ -0,0 +1,27 @@ +{ lib, fetchzip }: + +let + rev = "69132c99873894746c9710707aaeb2cea2609709"; +in +fetchzip { + pname = "sitelen-seli-kiwen"; + version = "unstable-2022-06-28"; + + url = "https://raw.githubusercontent.com/kreativekorp/sitelen-seli-kiwen/${rev}/sitelenselikiwen.zip"; + hash = "sha256-63sl/Ha2QAe8pVKCpLNs//DB0kjLdW01u6tVMrGquIU="; + stripRoot = false; + + postFetch = '' + mkdir -p $out/share/fonts/{opentype,truetype} + mv $out/*.eot $out/share/fonts/opentype/ + mv $out/*.ttf $out/share/fonts/truetype/ + ''; + + meta = with lib; { + description = "A handwritten sitelen pona font supporting UCSUR"; + homepage = "https://www.kreativekorp.com/software/fonts/sitelenselikiwen/"; + license = licenses.ofl; + platforms = platforms.all; + maintainers = with maintainers; [ somasis ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 24299752c2bb..cfadb8c693fb 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1008,6 +1008,8 @@ with pkgs; sirula = callPackage ../tools/wayland/sirula { }; + sitelen-seli-kiwen = callPackage ../data/fonts/sitelen-seli-kiwen {}; + srcOnly = callPackage ../build-support/src-only { }; subnetcalc = callPackage ../tools/networking/subnetcalc { };