2022-10-21 18:38:19 +00:00
|
|
|
{ fetchFromGitHub, xorg, lib, stdenv }:
|
2020-05-29 06:06:01 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tamzen-font";
|
|
|
|
version = "1.11.5";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sunaku";
|
|
|
|
repo = "tamzen-font";
|
|
|
|
rev = "Tamzen-${version}";
|
|
|
|
sha256 = "00x5fipzqimglvshhqwycdhaqslbvn3rl06jnswhyxfvz16ymj7s";
|
|
|
|
};
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
nativeBuildInputs = [ xorg.mkfontscale ];
|
2020-05-29 06:06:01 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
2020-09-25 04:45:31 +00:00
|
|
|
install -m 644 -D otb/*.otb pcf/*.pcf -t "$out/share/fonts/misc"
|
2020-05-29 06:06:01 +00:00
|
|
|
install -m 644 -D psf/*.psf -t "$out/share/consolefonts"
|
|
|
|
mkfontdir "$out/share/fonts/misc"
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-05-29 06:06:01 +00:00
|
|
|
description = "Bitmapped programming font based on Tamsyn";
|
|
|
|
longDescription = ''
|
2022-12-28 21:21:41 +00:00
|
|
|
Tamzen is a monospace bitmap font. It is programmatically forked
|
2020-05-29 06:06:01 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|