nixpkgs/pkgs/data/fonts/gentium-book-basic/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
840 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchzip }:
2016-03-02 17:45:45 +00:00
stdenvNoCC.mkDerivation rec {
pname = "gentium-book-basic";
version = "1.102";
2016-03-02 17:45:45 +00:00
src = fetchzip {
url = "http://software.sil.org/downloads/r/gentium/GentiumBasic_${lib.versions.major version}${lib.versions.minor version}.zip";
hash = "sha256-oCmpl95MJRfCV25cg/4cf8AwQWnoymXasSss1ziOPoE=";
};
installPhase = ''
runHook preInstall
2016-03-02 17:45:45 +00:00
install -Dm644 *.ttf -t $out/share/fonts/truetype
install -Dm644 FONTLOG.txt GENTIUM-FAQ.txt -t $out/share/doc/${pname}-${version}
runHook postInstall
'';
meta = with lib; {
homepage = "https://software.sil.org/gentium/";
2016-03-02 17:45:45 +00:00
description = "A high-quality typeface family for Latin, Cyrillic, and Greek";
2017-01-31 10:00:14 +00:00
maintainers = with maintainers; [ ];
2016-03-02 17:45:45 +00:00
license = licenses.ofl;
platforms = platforms.all;
};
}