forked from mirrors/nixpkgs
xits-math: init at 1.108
This commit is contained in:
parent
e3417b0f71
commit
43634d47e4
28
pkgs/data/fonts/xits-math/default.nix
Normal file
28
pkgs/data/fonts/xits-math/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -11676,6 +11676,8 @@ in
|
|||
|
||||
xhtml1 = callPackage ../data/sgml+xml/schemas/xml-dtd/xhtml1 { };
|
||||
|
||||
xits-math = callPackage ../data/fonts/xits-math { };
|
||||
|
||||
xkeyboard_config = xorg.xkeyboardconfig;
|
||||
|
||||
xlsx2csv = pythonPackages.xlsx2csv;
|
||||
|
|
Loading…
Reference in a new issue