mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
gentium-book: init at 7.000
This commit is contained in:
parent
718db763e8
commit
496731bdbe
1 changed files with 53 additions and 0 deletions
53
pkgs/by-name/ge/gentium-book/package.nix
Normal file
53
pkgs/by-name/ge/gentium-book/package.nix
Normal file
|
@ -0,0 +1,53 @@
|
|||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchzip,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "gentium-book";
|
||||
version = "7.000";
|
||||
|
||||
src = fetchzip {
|
||||
url = "http://software.sil.org/downloads/r/gentium/GentiumBook-${finalAttrs.version}.zip";
|
||||
hash = "sha256-A/QZX8OYrifaxChC08SNOaspdnSr8PxOtYgFAwUc5WY=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 *.ttf -t $out/share/fonts/truetype
|
||||
install -Dm644 FONTLOG.txt README.txt -t $out/share/doc/${finalAttrs.pname}-${finalAttrs.version}
|
||||
cp -r documentation $out/share/doc/${finalAttrs.pname}-${finalAttrs.version}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://software.sil.org/gentium/";
|
||||
description = "High-quality typeface family for Latin, Cyrillic, and Greek";
|
||||
longDescription = ''
|
||||
Gentium is a typeface family designed to enable the diverse ethnic groups
|
||||
around the world who use the Latin, Cyrillic and Greek scripts to produce
|
||||
readable, high-quality publications. It supports a wide range of Latin and
|
||||
Cyrillic-based alphabets.
|
||||
|
||||
The design is intended to be highly readable, reasonably compact, and
|
||||
visually attractive. The additional ‘extended’ Latin letters are designed
|
||||
to naturally harmonize with the traditional 26 ones. Diacritics are
|
||||
treated with careful thought and attention to their use. Gentium also
|
||||
supports both polytonic and monotonic Greek.
|
||||
|
||||
This package contains the regular and italic styles for the Gentium Book
|
||||
font family, along with documentation.
|
||||
'';
|
||||
downloadPage = "https://software.sil.org/gentium/download/";
|
||||
maintainers = with lib.maintainers; [
|
||||
b-fein
|
||||
raskin
|
||||
rycee
|
||||
];
|
||||
license = lib.licenses.ofl;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue