mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-06 13:53:05 +00:00
30 lines
1.1 KiB
Nix
30 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 ];
|
|
};
|
|
}
|