Merge pull request #28164 from volth/fonts-fixed-output-derivations-simple-cases-for-fplez-2

data/fonts: make derivations fixed-outputs (group 2)
This commit is contained in:
Jörg Thalheim 2017-08-11 17:36:56 +01:00 committed by GitHub
commit b0633cec39
10 changed files with 44 additions and 4 deletions

View File

@ -18,6 +18,10 @@ stdenv.mkDerivation {
mkfontdir mkfontdir
mkfontscale mkfontscale
''; '';
outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "127zrg65s90ksj99kr9hxny40rbxvpai62mf5nqk853hcd1bzpr6";
meta = { meta = {
description = "A Unicode font"; description = "A Unicode font";

View File

@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
for i in Dina_r700-*.bdf; do for i in Dina_r700-*.bdf; do
bdftopcf -t -o DinaBold$(_get_font_size $i).pcf $i bdftopcf -t -o DinaBold$(_get_font_size $i).pcf $i
done done
gzip *.pcf gzip -n *.pcf
fontDir="$out/share/fonts/misc" fontDir="$out/share/fonts/misc"
mkdir -p "$fontDir" mkdir -p "$fontDir"
@ -45,6 +45,10 @@ stdenv.mkDerivation rec {
preferLocalBuild = true; preferLocalBuild = true;
outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "0v0qn5zwq4j1yx53ypg6w6mqx6dk8l1xix0188b0k4z3ivgnflyb";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A monospace bitmap font aimed at programmers"; description = "A monospace bitmap font aimed at programmers";
longDescription = '' longDescription = ''

View File

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
for i in */etc/*.bdf; do for i in */etc/*.bdf; do
fontOut="$out/share/fonts/X11/misc/dosemu/$(basename "$i" .bdf).pcf.gz" fontOut="$out/share/fonts/X11/misc/dosemu/$(basename "$i" .bdf).pcf.gz"
echo -n "Installing font $fontOut..." >&2 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 echo " done." >&2
done done
cp */etc/dosemu.alias "$fontPath/fonts.alias" cp */etc/dosemu.alias "$fontPath/fonts.alias"
@ -25,6 +25,10 @@ stdenv.mkDerivation rec {
${mkfontscale}/bin/mkfontscale ${mkfontscale}/bin/mkfontscale
''; '';
outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "1miqv0ral5vazx721wildjlzvji5r7pbgm39c0cpj5ywafaikxr8";
meta = { meta = {
description = "Various fonts from the DOSEmu project"; description = "Various fonts from the DOSEmu project";
platforms = stdenv.lib.platforms.linux; platforms = stdenv.lib.platforms.linux;

View File

@ -25,6 +25,10 @@ stdenv.mkDerivation rec {
mkfontscale mkfontscale
''; '';
outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "04sjxfrlvjc2f0679cy4w366mpzbn3fp6gnrjb8vy12vjd1ffnc1";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = '' description = ''
Readable bitmap font inspired by Envy Code R Readable bitmap font inspired by Envy Code R

View File

@ -50,6 +50,10 @@ stdenv.mkDerivation rec {
mkfontscale mkfontscale
''; '';
outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "0msl5y9q6hjbhc85v121x1b1rhsh2rbqqy4k234i5mpp8l3087r7";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = '' description = ''
A monospace bitmap font well suited for programming and terminal use A monospace bitmap font well suited for programming and terminal use

View File

@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
name = "proggyfonts-0.1"; name = "proggyfonts-0.1";
src = fetchurl { src = fetchurl {
url = "http://kaictl.net/software/${name}.tar.gz"; url = "http://web.archive.org/web/20150801042353/http://kaictl.net/software/proggyfonts-0.1.tar.gz";
sha256 = "1plcm1sjpa3hdqhhin48fq6zmz3ndm4md72916hd8ff0w6596q0n"; sha256 = "1plcm1sjpa3hdqhhin48fq6zmz3ndm4md72916hd8ff0w6596q0n";
}; };
@ -31,6 +31,10 @@ stdenv.mkDerivation rec {
done done
''; '';
outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "06jsf3rw6q4l1jrw1161h4vxa1xbvpry5x12d8sh5g7hjk88p77g";
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = http://upperbounds.net; homepage = http://upperbounds.net;
description = "A set of fixed-width screen fonts that are designed for code listings"; description = "A set of fixed-width screen fonts that are designed for code listings";

View File

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
bdftopcf -o ''${i/bdf/pcf} $i bdftopcf -o ''${i/bdf/pcf} $i
done done
gzip *.pcf gzip -n *.pcf
''; '';
installPhase = '' installPhase = ''
@ -29,6 +29,10 @@ stdenv.mkDerivation rec {
mkfontscale mkfontscale
''; '';
outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "14dv3m1svahjyb9c1x1570qrmlnynzg0g36b10bqqs8xvhix34yq";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A nice bitmap font, readable even at small sizes"; description = "A nice bitmap font, readable even at small sizes";
longDescription = '' longDescription = ''

View File

@ -33,6 +33,10 @@ stdenv.mkDerivation rec {
mkfontscale mkfontscale
''; '';
outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "12fh3kbsib0baqwk6148fnzqrj9gs4vnl7yd5n9km72sic1z1xwk";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Unicode bitmap fonts"; description = "Unicode bitmap fonts";
maintainers = [ maintainers.raskin ]; maintainers = [ maintainers.raskin ];

View File

@ -18,6 +18,10 @@ stdenv.mkDerivation {
mkfontscale mkfontscale
''; '';
outputHashAlgo = "sha256";
outputHashMode = "recursive";
sha256 = "0rfly7r6blr2ykxlv0f6my2w41vvxcw85chspljd2p1fxlr28jd7";
meta = { meta = {
description = "Unicode VGA font"; description = "Unicode VGA font";
maintainers = [stdenv.lib.maintainers.ftrvxmtrx]; maintainers = [stdenv.lib.maintainers.ftrvxmtrx];

View File

@ -28,6 +28,10 @@ stdenv.mkDerivation rec {
mkfontscale mkfontscale
''; '';
outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "1s7gpxxj760aw3rpk760s3w8qdkn819rs7si1qj4grm3s6hb2gd8";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Unicode font for Base Multilingual Plane"; description = "Unicode font for Base Multilingual Plane";
homepage = http://unifoundry.com/unifont.html; homepage = http://unifoundry.com/unifont.html;