data/fonts: simpler cleanups (group 2)

This commit is contained in:
Volth
2017-08-11 16:02:20 +00:00
parent f0f55ac6cd
commit c6e200ea7c
10 changed files with 44 additions and 4 deletions
+5 -1
View File
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
for i in */etc/*.bdf; do
fontOut="$out/share/fonts/X11/misc/dosemu/$(basename "$i" .bdf).pcf.gz"
echo -n "Installing font $fontOut..." >&2
${bdftopcf}/bin/bdftopcf $i | gzip -c -9 > "$fontOut"
${bdftopcf}/bin/bdftopcf $i | gzip -c -9 -n > "$fontOut"
echo " done." >&2
done
cp */etc/dosemu.alias "$fontPath/fonts.alias"
@@ -25,6 +25,10 @@ stdenv.mkDerivation rec {
${mkfontscale}/bin/mkfontscale
'';
outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "1miqv0ral5vazx721wildjlzvji5r7pbgm39c0cpj5ywafaikxr8";
meta = {
description = "Various fonts from the DOSEmu project";
platforms = stdenv.lib.platforms.linux;