diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-05-11 06:26:05 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-05-11 06:26:15 +0300 |
commit | 43634d47e415eb51a77ec861fd678fa62e1902cb (patch) | |
tree | f31e0235f246f5a192df6b3d1274dd3930c59ce0 /pkgs/data | |
parent | e3417b0f71b7062e9ac7cf11611363e3bcd93c5c (diff) | |
download | nixpkgs-43634d47e415eb51a77ec861fd678fa62e1902cb.tar nixpkgs-43634d47e415eb51a77ec861fd678fa62e1902cb.tar.gz nixpkgs-43634d47e415eb51a77ec861fd678fa62e1902cb.tar.bz2 nixpkgs-43634d47e415eb51a77ec861fd678fa62e1902cb.tar.lz nixpkgs-43634d47e415eb51a77ec861fd678fa62e1902cb.tar.xz nixpkgs-43634d47e415eb51a77ec861fd678fa62e1902cb.tar.zst nixpkgs-43634d47e415eb51a77ec861fd678fa62e1902cb.zip |
xits-math: init at 1.108
Diffstat (limited to 'pkgs/data')
-rw-r--r-- | pkgs/data/fonts/xits-math/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/data/fonts/xits-math/default.nix b/pkgs/data/fonts/xits-math/default.nix new file mode 100644 index 00000000000..773aa74ce39 --- /dev/null +++ b/pkgs/data/fonts/xits-math/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + name = "xits-math-${version}"; + version = "1.108"; + + src = fetchFromGitHub { + owner = "khaledhosny"; + repo = "xits-math"; + rev = "v${version}"; + sha256 = "08nn676c41a7gmmhrzi8mm0g74z8aiaafjk48pqcwxvjj9av7xjg"; + }; + + phases = [ "unpackPhase" "installPhase" ]; + + installPhase = '' + mkdir -p $out/share/fonts/opentype + cp *.otf $out/share/fonts/opentype + ''; + + meta = with stdenv.lib; { + homepage = https://github.com/khaledhosny/xits-math; + description = "OpenType implementation of STIX fonts with math support"; + license = licenses.ofl; + platforms = platforms.all; + maintainers = with maintainers; [ abbradar ]; + }; +} |