siji: Also package bdf font

The pcf version seems to be incompatible with newer FreeType versions
and hence doesn't show up in `fc-list`. A bdf file format is also
available. After packaging that the font shows up in `fc-list`.

See: https://github.com/stark/siji/issues/28

Fixes #59847
This commit is contained in:
Daniel Schaefer 2019-04-19 02:40:36 +02:00
parent f3a5c0e671
commit 1e05181886

View file

@ -8,11 +8,13 @@ in fetchzip {
url = https://github.com/stark/siji/archive/95369afac3e661cb6d3329ade5219992c88688c1.zip; url = https://github.com/stark/siji/archive/95369afac3e661cb6d3329ade5219992c88688c1.zip;
postFetch = '' postFetch = ''
mkdir -p $out/share/fonts unzip -j $downloadedFile
unzip -j $downloadedFile \*.pcf -d $out/share/fonts/pcf
install -D *.pcf -t $out/share/fonts/pcf
install -D *.bdf -t $out/share/fonts/bdf
''; '';
sha256 = "1799hs7zd8w7qyja4mii9ggmrm786az7ldsqwx9mbi51b56ym640"; sha256 = "1ymcbirdbkqaf0xs2y00l0wachb4yxh1fgqm5avqwvccs0lsfj1d";
meta = { meta = {
homepage = https://github.com/stark/siji; homepage = https://github.com/stark/siji;