nixpkgs/pkgs/by-name/si/sitelen-seli-kiwen/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
871 B
Nix
Raw Normal View History

2023-01-25 11:34:24 +00:00
{ lib, stdenvNoCC, fetchzip }:
2023-01-25 11:34:24 +00:00
stdenvNoCC.mkDerivation {
pname = "sitelen-seli-kiwen";
version = "unstable-2022-06-28";
2023-01-25 11:34:24 +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
mkdir -p $out/share/fonts/{opentype,truetype}
2023-01-25 11:34:24 +00:00
mv *.eot $out/share/fonts/opentype/
mv *.ttf $out/share/fonts/truetype/
runHook postInstall
'';
meta = with lib; {
description = "Handwritten sitelen pona font supporting UCSUR";
homepage = "https://www.kreativekorp.com/software/fonts/sitelenselikiwen/";
license = licenses.ofl;
platforms = platforms.all;
maintainers = with maintainers; [ somasis ];
};
}