depot/pkgs/data/fonts/navilu/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

28 lines
670 B
Nix

{ lib, stdenv, fetchFromGitHub, fontforge }:
stdenv.mkDerivation rec {
pname = "navilu-font";
version = "1.2";
src = fetchFromGitHub {
owner = "aravindavk";
repo = "Navilu";
rev = "v${version}";
sha256 = "1vm6n04siaa0zf6jzp5s2gzgr2qxs3vdnmcmg4dcy07py2kd2fla";
};
nativeBuildInputs = [ fontforge ];
dontConfigure = true;
preBuild = "patchShebangs generate.pe";
installPhase = "install -Dm444 -t $out/share/fonts/truetype/ Navilu.ttf";
meta = with lib; src.meta // {
description = "Kannada handwriting font";
license = licenses.gpl3Plus;
platforms = platforms.all;
maintainers = with maintainers; [ ehmry ];
};
}