2017-08-10 20:43:49 +01:00
|
|
|
{stdenv, fetchzip}:
|
2014-09-11 19:05:01 +01:00
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
let
|
2014-09-11 19:05:01 +01:00
|
|
|
version = "1.1.1";
|
2017-08-10 20:43:49 +01:00
|
|
|
in fetchzip rec {
|
|
|
|
name = "stix-otf-${version}";
|
2014-09-11 19:05:01 +01:00
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
url = "mirror://sourceforge/stixfonts/STIXv${version}-word.zip";
|
2014-09-11 19:05:01 +01:00
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
postFetch = ''
|
|
|
|
mkdir -p $out/share/fonts
|
|
|
|
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
2014-09-11 19:05:01 +01:00
|
|
|
'';
|
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
sha256 = "04d4qxq3i9fyapsmxk6d9v1xirjam8c74fyxs6n24d3gf2945zmw";
|
|
|
|
|
2014-09-11 19:05:01 +01:00
|
|
|
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];
|
|
|
|
};
|
|
|
|
}
|