2021-01-15 07:29:18 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, fontforge }:
|
2019-12-26 05:27:51 +00:00
|
|
|
|
|
|
|
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";
|
|
|
|
|
2021-01-15 07:29:18 +00:00
|
|
|
meta = with lib; src.meta // {
|
2019-12-26 05:27:51 +00:00
|
|
|
description = "A Kannada handwriting font";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ ehmry ];
|
|
|
|
};
|
|
|
|
}
|