Skip to content

Commit

Permalink
Merge pull request #75761 from ehmry/gubbi
Browse files Browse the repository at this point in the history
gubbi-font: init at 1.3
  • Loading branch information
c0bw3b committed Dec 18, 2019
2 parents 503ca8f + cad12ae commit fb1bc1b
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
29 changes: 29 additions & 0 deletions 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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -17304,6 +17304,8 @@ in

greybird = callPackage ../data/themes/greybird { };

gubbi-font = callPackage ../data/fonts/gubbi { };

gyre-fonts = callPackage ../data/fonts/gyre {};

hack-font = callPackage ../data/fonts/hack { };
Expand Down

0 comments on commit fb1bc1b

Please sign in to comment.