depot/third_party/nixpkgs/pkgs/data/fonts/navilu/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

28 lines
674 B
Nix

{ 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 stdenv.lib; src.meta // {
description = "A Kannada handwriting font";
license = licenses.gpl3Plus;
platforms = platforms.all;
maintainers = with maintainers; [ ehmry ];
};
}