mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
commit
fb1bc1b891
29
pkgs/data/fonts/gubbi/default.nix
Normal file
29
pkgs/data/fonts/gubbi/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue