Merge pull request #4060 from rycee/stix-font

Add package for the STIX OTF fonts.
This commit is contained in:
cillianderoiste 2014-09-13 15:56:56 +02:00
commit 3bb60dbefe
3 changed files with 33 additions and 0 deletions

View File

@ -105,6 +105,7 @@
roelof = "Roelof Wobben <rwobben@hotmail.com>";
romildo = "José Romildo Malaquias <malaquias@gmail.com>";
rszibele = "Richard Szibele <richard_szibele@hotmail.com>";
rycee = "Robert Helgesson <robert@rycee.net>";
sander = "Sander van der Burg <s.vanderburg@tudelft.nl>";
shlevy = "Shea Levy <shea@shealevy.com>";
simons = "Peter Simons <simons@cryp.to>";

View File

@ -0,0 +1,30 @@
{stdenv, fetchurl, unzip}:
stdenv.mkDerivation rec {
name = "stix-otf-${version}";
version = "1.1.1";
src = fetchurl {
url = "mirror://sourceforge/stixfonts/STIXv${version}-word.zip";
sha256 = "1q35wbqn3nh78pdban9z37lh090c6p49q3d00zzxm0axxz66xy4q";
};
buildInputs = [unzip];
phases = ["unpackPhase" "installPhase"];
sourceRoot = "Fonts/STIX-Word";
installPhase = ''
mkdir -p $out/share/fonts/opentype
cp *.otf $out/share/fonts/opentype
'';
meta = with stdenv.lib; {
homepage = http://www.stixfonts.org/;
description = "Fonts for Scientific and Technical Information eXchange";
license = licenses.ofl;
platforms = platforms.all;
maintainers = [maintainers.rycee];
};
}

View File

@ -8265,6 +8265,8 @@ let
stdmanpages = callPackage ../data/documentation/std-man-pages { };
stix-otf = callPackage ../data/fonts/stix-otf { };
symbola = callPackage ../data/fonts/symbola { };
iana_etc = callPackage ../data/misc/iana-etc { };