1 { lib, stdenv, fetchurl, libfaketime
5 stdenv.mkDerivation rec {
10 url = "https://ywstd.fr/files/p/envypn-font/envypn-font-${version}.tar.gz";
11 sha256 = "bda67b6bc6d5d871a4d46565d4126729dfb8a0de9611dae6c68132a7b7db1270";
14 nativeBuildInputs = [ libfaketime xorg.fonttosfnt xorg.mkfontscale ];
17 tar -xzf $src --strip-components=1
23 # convert pcf fonts to otb
24 for i in *e.pcf.gz; do
25 faketime -f "1970-01-01 00:00:01" \
26 fonttosfnt -v -o "$(basename "$i" .pcf.gz)".otb "$i"
35 install -D -m 644 -t "$out/share/fonts/misc" *.otb *.pcf.gz
36 mkfontdir "$out/share/fonts/misc"
43 Readable bitmap font inspired by Envy Code R
45 homepage = "http://ywstd.fr/p/pj/#envypn";
46 license = licenses.miros;
47 platforms = platforms.all;
48 maintainers = with maintainers; [ erdnaxe ];