xits-math: build from source
This commit is contained in:
parent
79b0a9bf39
commit
a5f972fa73
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub }:
|
||||
{ stdenv, fetchFromGitHub, python2Packages, fontforge }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "xits-math-${version}";
|
||||
|
@ -11,7 +11,11 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "08nn676c41a7gmmhrzi8mm0g74z8aiaafjk48pqcwxvjj9av7xjg";
|
||||
};
|
||||
|
||||
phases = [ "unpackPhase" "installPhase" ];
|
||||
nativeBuildInputs = [ fontforge ] ++ (with python2Packages; [ python fonttools ]);
|
||||
|
||||
postPatch = ''
|
||||
rm *.otf
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/opentype
|
||||
|
|
Loading…
Reference in New Issue