Merge pull request #28216 from volth/fonts-fixed-output-derivations--fontforge-group
data/fonts: make derivations fixed-outputs (fontforge group)
This commit is contained in:
commit
fd84a79623
|
@ -24,6 +24,10 @@ stdenv.mkDerivation rec {
|
|||
cp -v AUTHORS ChangeLog COPYING License.txt README "$out/doc/${name}" || true
|
||||
'';
|
||||
|
||||
outputHashAlgo = "sha256";
|
||||
outputHashMode = "recursive";
|
||||
outputHash = "18brmw0h4hjq1m2l0abwc3zmib4rnfalpywdk68djm711zldxr76";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Fork of Inconsolata font, with proper support of Cyrillic and Greek";
|
||||
longDescription = ''
|
||||
|
|
|
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0x7cz6hvhpil1rh03rax9zsfzm54bh7r4bbrq8rz673gl9h47v0v";
|
||||
};
|
||||
|
||||
setSourceRoot = "sourceRoot=`pwd`";
|
||||
sourceRoot = ".";
|
||||
|
||||
nativeBuildInputs = [ fontforge ];
|
||||
|
||||
|
@ -40,9 +40,14 @@ stdenv.mkDerivation rec {
|
|||
cp *.map $out/share/texmf/fonts/map
|
||||
'';
|
||||
|
||||
meta = {
|
||||
outputHashAlgo = "sha256";
|
||||
outputHashMode = "recursive";
|
||||
outputHash = "1mj0j0hkp8pn7jcs4pvcan6whba60bfd671g3vhx3s9kxwf7xjvr";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Linux Libertine Fonts";
|
||||
homepage = http://linuxlibertine.sf.net;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.volth ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -13,15 +13,13 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ python fontforge ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildPhase = ''
|
||||
local _d=""
|
||||
local _l=""
|
||||
for _d in {Monoisome,Source}/*.sfdir; do
|
||||
_l="''${_d##*/}.log"
|
||||
echo "Building $_d (log at $_l)"
|
||||
python Scripts/build.py ${if enableParallelBuilding then "$NIX_BUILD_CORES" else "1"} 0 $_d > $_l
|
||||
python Scripts/build.py 1 0 $_d > $_l
|
||||
done
|
||||
'';
|
||||
|
||||
|
@ -31,6 +29,10 @@ stdenv.mkDerivation rec {
|
|||
cp -va Readme.md $out/share/doc
|
||||
'';
|
||||
|
||||
outputHashAlgo = "sha256";
|
||||
outputHashMode = "recursive";
|
||||
outputHash = "0lbipgygiva3gg1pqw07phpnnf0s6ka9vqdk1pw7bkybjw3f7wzm";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://larsenwork.com/monoid;
|
||||
description = "Customisable coding font with alternates, ligatures and contextual positioning";
|
||||
|
|
|
@ -11,6 +11,13 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
buildPhase = ''
|
||||
substituteInPlace apply-feature.py --replace \
|
||||
'ricty = ttLib.TTFont(options.in_font)' \
|
||||
'ricty = ttLib.TTFont(options.in_font, recalcTimestamp=False)'
|
||||
substituteInPlace build-py3.py --replace \
|
||||
'datetime.date.today()' \
|
||||
'datetime.date.fromtimestamp(float(os.environ["SOURCE_DATE_EPOCH"]))'
|
||||
|
||||
make
|
||||
'';
|
||||
|
||||
|
@ -28,6 +35,10 @@ stdenv.mkDerivation rec {
|
|||
]))
|
||||
];
|
||||
|
||||
outputHashAlgo = "sha256";
|
||||
outputHashMode = "recursive";
|
||||
outputHash = "09ldviapljn4bb1mcxap2pkz7cq3wr2k2qialbnav5y7ii82acd4";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/hakatashi/RictyDiminished-with-FiraCode;
|
||||
description = "The best Japanese programming font meets the awesone ligatures of Firacode";
|
||||
|
|
|
@ -23,6 +23,11 @@ stdenv.mkDerivation rec {
|
|||
cp *.svg "$out/share/fonts/svg"
|
||||
cp *.woff "$out/share/fonts/web"
|
||||
'';
|
||||
|
||||
outputHashAlgo = "sha256";
|
||||
outputHashMode = "recursive";
|
||||
outputHash = "03zvczdka665zcyf9fjrnx434mwpr5q8396j34kjmc67w7nhc49r";
|
||||
|
||||
meta = {
|
||||
inherit version;
|
||||
description = ''Bitmapped character-art-friendly Unicode fonts'';
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue