22017988c6
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
29 lines
1.1 KiB
Nix
29 lines
1.1 KiB
Nix
{ 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 ];
|
|
};
|
|
}
|