nixpkgs/pkgs/data/fonts/siji/default.nix
Daniel Schaefer 1e05181886 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
2019-04-19 02:40:36 +02:00

26 lines
681 B
Nix

{ stdenv, fetchzip }:
let
date = "2016-05-13";
in fetchzip {
name = "siji-${date}";
url = https://github.com/stark/siji/archive/95369afac3e661cb6d3329ade5219992c88688c1.zip;
postFetch = ''
unzip -j $downloadedFile
install -D *.pcf -t $out/share/fonts/pcf
install -D *.bdf -t $out/share/fonts/bdf
'';
sha256 = "1ymcbirdbkqaf0xs2y00l0wachb4yxh1fgqm5avqwvccs0lsfj1d";
meta = {
homepage = https://github.com/stark/siji;
description = "An iconic bitmap font based on Stlarch with additional glyphs";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.asymmetric ];
};
}