data/fonts: make derivations fixed-outputs (group of fontforge compiled fonts)
This commit is contained in:
@@ -15,6 +15,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
postPatch = ''
|
||||
rm *.otf
|
||||
|
||||
substituteInPlace tools/postprocess.py --replace \
|
||||
'font = ttLib.TTFont(sys.argv[1])' \
|
||||
'font = ttLib.TTFont(sys.argv[1], recalcTimestamp=False)'
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
@@ -22,6 +26,10 @@ stdenv.mkDerivation rec {
|
||||
cp *.otf $out/share/fonts/opentype
|
||||
'';
|
||||
|
||||
outputHashAlgo = "sha256";
|
||||
outputHashMode = "recursive";
|
||||
outputHash = "00xycmb9ka67j5s66nkng53y8q6362igisxz04zb58r2717jk50m";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/khaledhosny/xits-math;
|
||||
description = "OpenType implementation of STIX fonts with math support";
|
||||
|
||||
Reference in New Issue
Block a user