3
0
Fork 0
forked from mirrors/nixpkgs

annapurna-sil: init at 1.204

This commit is contained in:
Kierán Meinhardt 2022-04-14 21:52:40 +02:00 committed by ehmry
parent 5ba1f36f71
commit d534078143
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib, fetchzip }:
let
version = "1.204";
in
fetchzip rec {
name = "annapurna-sil-${version}";
url = "https://software.sil.org/downloads/r/annapurna/AnnapurnaSIL-${version}.zip";
postFetch = ''
mkdir -p $out/share/{doc,fonts}
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
unzip -j $downloadedFile \*OFL.txt \*OFL-FAQ.txt \*README.txt \*FONTLOG.txt -d "$out/share/doc/${name}"
'';
sha256 = "sha256-kVeP9ZX8H+Wn6jzmH1UQvUKY6vJjadMTdEusS7LodFM=";
meta = with lib; {
homepage = "https://software.sil.org/annapurna";
description = "Unicode-based font family with broad support for writing systems that use the Devanagari script";
longDescription = ''
Annapurna SIL is a Unicode-based font family with broad support for writing systems that use the Devanagari script. Inspired by traditional calligraphic forms, the design is intended to be highly readable, reasonably compact, and visually attractive.
'';
license = licenses.ofl;
platforms = platforms.all;
maintainers = [ maintainers.kmein ];
};
}

View file

@ -23948,6 +23948,8 @@ with pkgs;
ankacoder = callPackage ../data/fonts/ankacoder { };
ankacoder-condensed = callPackage ../data/fonts/ankacoder/condensed.nix { };
annapurna-sil = callPackage ../data/fonts/annapurna-sil { };
anonymousPro = callPackage ../data/fonts/anonymous-pro { };
ant-theme = callPackage ../data/themes/ant-theme/ant.nix { };