2019-05-13 02:55:32 +01:00
|
|
|
{ lib, 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
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
url = "http://ftp.fi.muni.cz/pub/linux/gentoo/distfiles/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";
|
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
meta = with lib; {
|
2014-09-11 19:05:01 +01:00
|
|
|
homepage = http://www.stixfonts.org/;
|
|
|
|
description = "Fonts for Scientific and Technical Information eXchange";
|
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [maintainers.rycee];
|
|
|
|
};
|
|
|
|
}
|