Skip to content

Commit

Permalink
stix-two: init at 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rycee committed Feb 20, 2017
1 parent 2f8aaf0 commit b87be6e
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
28 changes: 28 additions & 0 deletions pkgs/data/fonts/stix-two/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{ stdenv, fetchurl, unzip }:

stdenv.mkDerivation rec {
name = "stix-two-${version}";
version = "2.0.0";

src = fetchurl {
url = "mirror://sourceforge/stixfonts/Current%20Release/STIXv${version}.zip";
sha256 = "0f6rcg0p2dhnks523nywgkjk56bjajz3gnwsrap932674xxjkb3g";
};

buildInputs = [ unzip ];

phases = [ "unpackPhase" "installPhase" ];

installPhase = ''
mkdir -p $out/share/fonts/opentype
cp -v "Fonts/OTF/"*.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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12335,6 +12335,8 @@ with pkgs;

stix-otf = callPackage ../data/fonts/stix-otf { };

stix-two = callPackage ../data/fonts/stix-two { };

inherit (callPackages ../data/fonts/gdouros { })
symbola aegyptus akkadian anatolian maya unidings musica analecta;

Expand Down

0 comments on commit b87be6e

Please sign in to comment.