forked from mirrors/nixpkgs
annapurna-sil: init at 1.204
This commit is contained in:
parent
5ba1f36f71
commit
d534078143
29
pkgs/data/fonts/annapurna-sil/default.nix
Normal file
29
pkgs/data/fonts/annapurna-sil/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue