2023-02-02 18:25:31 +00:00
|
|
|
{ lib, stdenvNoCC, fetchzip }:
|
2022-11-21 17:40:18 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
stdenvNoCC.mkDerivation {
|
2022-11-21 17:40:18 +00:00
|
|
|
pname = "sitelen-seli-kiwen";
|
|
|
|
version = "unstable-2022-06-28";
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://raw.githubusercontent.com/kreativekorp/sitelen-seli-kiwen/69132c99873894746c9710707aaeb2cea2609709/sitelenselikiwen.zip";
|
|
|
|
stripRoot = false;
|
|
|
|
hash = "sha256-viOLAj9Rn60bcQkkDHVuKHCE8KPnIz/L0hIJhum1SSQ=";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
2022-11-21 17:40:18 +00:00
|
|
|
|
|
|
|
mkdir -p $out/share/fonts/{opentype,truetype}
|
2023-02-02 18:25:31 +00:00
|
|
|
mv *.eot $out/share/fonts/opentype/
|
|
|
|
mv *.ttf $out/share/fonts/truetype/
|
|
|
|
|
|
|
|
runHook postInstall
|
2022-11-21 17:40:18 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|