mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-28 15:54:32 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
46 lines
1.6 KiB
Nix
46 lines
1.6 KiB
Nix
{ lib, stdenvNoCC, fetchzip }:
|
||
|
||
stdenvNoCC.mkDerivation rec {
|
||
pname = "gentium";
|
||
version = "6.200";
|
||
|
||
src = fetchzip {
|
||
url = "http://software.sil.org/downloads/r/gentium/GentiumPlus-${version}.zip";
|
||
hash = "sha256-gpVOtmF4Kp3y1Rm00c4o3WQEskO7mY1Z5SVaYHI0hzg=";
|
||
};
|
||
|
||
installPhase = ''
|
||
runHook preInstall
|
||
|
||
install -Dm644 *.ttf -t $out/share/fonts/truetype
|
||
install -Dm644 FONTLOG.txt README.txt -t $out/share/doc/${pname}-${version}
|
||
cp -r documentation $out/share/doc/${pname}-${version}
|
||
|
||
runHook postInstall
|
||
'';
|
||
|
||
meta = with lib; {
|
||
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 Plus also
|
||
supports both polytonic and monotonic Greek.
|
||
|
||
This package contains the regular and italic styles for the Gentium Plus
|
||
font family, along with documentation.
|
||
'';
|
||
downloadPage = "https://software.sil.org/gentium/download/";
|
||
maintainers = with maintainers; [ raskin rycee ];
|
||
license = licenses.ofl;
|
||
platforms = platforms.all;
|
||
};
|
||
}
|