add gayathri

This commit is contained in:
2024-10-13 01:10:37 +02:00
parent 9c53e5c3df
commit dbba1430b0
2 changed files with 38 additions and 3 deletions

28
gayathri/default.nix Normal file
View File

@@ -0,0 +1,28 @@
{ pkgs, ... }:
pkgs.stdenv.mkDerivation {
version = "1.300 ";
pname = "gayathri";
src = pkgs.fetchzip {
url = "https://smc.org.in/downloads/fonts/gayathri/gayathri.zip";
hash = "sha256-p9KZi31Na4hfUuDsKj4OXjc9s6J/8xMeuszlL5oVauQ=";
stripRoot = false;
};
installPhase = ''
runHook preInstall
install -D -m444 -t $out/share/fonts/opentype $src/*.otf
runHook postInstall
'';
meta = with pkgs.lib; {
homepage = "https://smc.org.in/fonts/gayathri";
description = "Chilanka Malayalam Typeface";
license = licenses.ofl;
platforms = platforms.all;
maintainers = with maintainers; [ aashiks ];
};
}