diff options
author | Emery Hemingway <ehmry@posteo.net> | 2019-12-16 14:06:45 +0000 |
---|---|---|
committer | Emery Hemingway <ehmry@posteo.net> | 2019-12-18 11:33:18 +0000 |
commit | cad12aee9bcbe0de152e0d15596a6df4407bc54e (patch) | |
tree | 4804fc81c0677505cdbf881789520db0b303c7c7 /pkgs/data/fonts/gubbi | |
parent | a50653295df5e2565b4a6a316923f9e939f1945b (diff) |
gubbi-font: init at 1.3
Diffstat (limited to 'pkgs/data/fonts/gubbi')
-rw-r--r-- | pkgs/data/fonts/gubbi/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/data/fonts/gubbi/default.nix b/pkgs/data/fonts/gubbi/default.nix new file mode 100644 index 0000000000000..2d1c520e61031 --- /dev/null +++ b/pkgs/data/fonts/gubbi/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchFromGitHub, fontforge }: + +stdenv.mkDerivation rec { + pname = "gubbi-font"; + version = "1.3"; + + src = fetchFromGitHub { + owner = "aravindavk"; + repo = "gubbi"; + rev = "v${version}"; + sha256 = "10w9i3pmjvs1b3xclrgn4q5a95ss4ipldbxbqrys2dmfivx7i994"; + }; + + nativeBuildInputs = [ fontforge ]; + + dontConfigure = true; + + preBuild = "patchShebangs generate.pe"; + + installPhase = "install -Dm444 -t $out/share/fonts/truetype/ Gubbi.ttf"; + + meta = with stdenv.lib; { + inherit (src.meta) homepage; + description = "A Kannada font"; + license = licenses.gpl3Plus; + platforms = platforms.all; + maintainers = with maintainers; [ ehmry ]; + }; +} |