evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / an / annapurna-sil / package.nix
blob325a1a5bcd57c44db327e00aac8bb7eb41a803e3
1 { lib, stdenvNoCC, fetchzip }:
3 stdenvNoCC.mkDerivation rec {
4   pname = "annapurna-sil";
5   version = "2.100";
7   src = fetchzip {
8     url = "https://software.sil.org/downloads/r/annapurna/AnnapurnaSIL-${version}.zip";
9     hash = "sha256-TFaCchtd9SRGsU9r+m8QOvZfc7/FJxwclkSfbLwf6/4=";
10   };
12   installPhase = ''
13     runHook preInstall
15     install -Dm644 *.ttf -t $out/share/fonts/truetype
16     install -Dm644 OFL.txt OFL-FAQ.txt README.txt FONTLOG.txt -t $out/share/doc/${pname}-${version}
18     runHook postInstall
19   '';
21   meta = with lib; {
22     homepage = "https://software.sil.org/annapurna";
23     description = "Unicode-based font family with broad support for writing systems that use the Devanagari script";
24     longDescription = ''
25       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.
26     '';
27     license = licenses.ofl;
28     platforms = platforms.all;
29     maintainers = [ maintainers.kmein ];
30   };