1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00
nixpkgs/pkgs/data/fonts/stix-otf/default.nix

31 lines
733 B
Nix
Raw Normal View History

2014-09-11 19:05:01 +01:00
{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];
};
}