forked from mirrors/nixpkgs
Merge pull request #13621 from DamienCassou/add-gentium-book-basic
gentium-book-basic: init at 1.102
This commit is contained in:
commit
7f422cf872
31
pkgs/data/fonts/gentium-book-basic/default.nix
Normal file
31
pkgs/data/fonts/gentium-book-basic/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ stdenv, fetchzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gentium-book-basic-${version}";
|
||||
major = "1";
|
||||
minor = "102";
|
||||
version = "${major}.${minor}";
|
||||
|
||||
src = fetchzip {
|
||||
name = "${name}.zip";
|
||||
url = "http://software.sil.org/downloads/gentium/GentiumBasic_${major}${minor}.zip";
|
||||
sha256 = "109yiqwdfb1bn7d6bjp8d50k1h3z3kz86p3faz11f9acvsbsjad0";
|
||||
};
|
||||
|
||||
phases = [ "unpackPhase" "installPhase" ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
mkdir -p $out/share/doc/${name}
|
||||
cp -v *.ttf $out/share/fonts/truetype/
|
||||
cp -v FONTLOG.txt GENTIUM-FAQ.txt $out/share/doc/${name}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://software.sil.org/gentium/";
|
||||
description = "A high-quality typeface family for Latin, Cyrillic, and Greek";
|
||||
maintainers = with maintainers; [ DamienCassou ];
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
|
@ -11137,6 +11137,8 @@ let
|
|||
|
||||
gentium = callPackage ../data/fonts/gentium {};
|
||||
|
||||
gentium-book-basic = callPackage ../data/fonts/gentium-book-basic {};
|
||||
|
||||
geolite-legacy = callPackage ../data/misc/geolite-legacy { };
|
||||
|
||||
gohufont = callPackage ../data/fonts/gohufont { };
|
||||
|
|
Loading…
Reference in a new issue