mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
29 lines
676 B
Nix
29 lines
676 B
Nix
{ lib, 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 lib; {
|
|
inherit (src.meta) homepage;
|
|
description = "Kannada font";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ ehmry ];
|
|
};
|
|
}
|