Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
42 lines
1.1 KiB
Nix
42 lines
1.1 KiB
Nix
{
|
|
fetchFromGitHub,
|
|
xorg,
|
|
lib,
|
|
stdenv,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "tamzen-font";
|
|
version = "1.11.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sunaku";
|
|
repo = "tamzen-font";
|
|
rev = "Tamzen-${version}";
|
|
sha256 = "sha256-W5Wqsm5rpzzcbJl2lv6ORAznaAwLcmJ2S6Qo2zIoq9I=";
|
|
};
|
|
|
|
nativeBuildInputs = [ xorg.mkfontscale ];
|
|
|
|
installPhase = ''
|
|
install -m 644 -D otb/*.otb pcf/*.pcf -t "$out/share/fonts/misc"
|
|
install -m 644 -D psf/*.psf -t "$out/share/consolefonts"
|
|
mkfontdir "$out/share/fonts/misc"
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Bitmapped programming font based on Tamsyn";
|
|
longDescription = ''
|
|
Tamzen is a monospace bitmap font. It is programmatically forked
|
|
from Tamsyn version 1.11, which backports glyphs from older
|
|
versions while deleting deliberately empty glyphs to allow
|
|
secondary/fallback fonts to provide real glyphs at those codepoints.
|
|
Tamzen also has fonts that additionally provide the Powerline
|
|
symbols.
|
|
'';
|
|
homepage = "https://github.com/sunaku/tamzen-font";
|
|
license = licenses.free;
|
|
maintainers = with maintainers; [ wishfort36 ];
|
|
};
|
|
}
|