ttf-indic: init at 0.2

+31
+31
pkgs/by-name/tt/ttf-indic/package.nix
···
··· 1 + { 2 + lib, 3 + stdenvNoCC, 4 + fetchurl, 5 + }: 6 + 7 + stdenvNoCC.mkDerivation rec { 8 + pname = "ttf-indic"; 9 + version = "0.2"; 10 + 11 + src = fetchurl { 12 + url = "https://www.indlinux.org/downloads/files/indic-otf-${version}.tar.gz"; 13 + hash = "sha256-ZFmg1JanAf3eeF7M+yohrXYSUb0zLgNSFldEMzkhXnI="; 14 + }; 15 + 16 + installPhase = '' 17 + runHook preInstall 18 + 19 + install -m444 -Dt $out/share/fonts/truetype OpenType/*.ttf 20 + 21 + runHook postInstall 22 + ''; 23 + 24 + meta = { 25 + homepage = "https://www.indlinux.org/wiki/index.php/Downloads"; 26 + description = "Indic Opentype Fonts collection"; 27 + license = lib.licenses.gpl2Only; 28 + maintainers = [ lib.maintainers.akssri ]; 29 + platforms = lib.platforms.all; 30 + }; 31 + }