Merge pull request #87842 from wishfort36/tamzen-1.11.4
tamzen: init at 1.11.4
This commit is contained in:
commit
21537c43ab
@ -8331,6 +8331,12 @@
|
||||
githubId = 6016963;
|
||||
name = "Patrick Winter";
|
||||
};
|
||||
wishfort36 = {
|
||||
email = "42300264+wishfort36@users.noreply.github.com";
|
||||
github = "wishfort36";
|
||||
githubId = 42300264;
|
||||
name = "wishfort36";
|
||||
};
|
||||
wizeman = {
|
||||
email = "rcorreia@wizy.org";
|
||||
github = "wizeman";
|
||||
|
47
pkgs/data/fonts/tamzen/default.nix
Normal file
47
pkgs/data/fonts/tamzen/default.nix
Normal file
@ -0,0 +1,47 @@
|
||||
{ fetchFromGitHub, fontforge, mkfontscale, stdenv }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tamzen-font";
|
||||
version = "1.11.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sunaku";
|
||||
repo = "tamzen-font";
|
||||
rev = "Tamzen-${version}";
|
||||
sha256 = "17kgmvg6q32mqhx9g44hjvzv0si0mnpprga4z7na930g2zdd8846";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ fontforge mkfontscale ];
|
||||
|
||||
installPhase = ''
|
||||
# convert pcf fonts to otb
|
||||
for i in pcf/*.pcf; do
|
||||
name=$(basename "$i" .pcf)
|
||||
fontforge -lang=ff -c "Open(\"$i\"); Generate(\"$name.otb\")"
|
||||
done
|
||||
|
||||
install -m 644 -D pcf/*.pcf -t "$out/share/fonts/misc"
|
||||
install -m 644 -D psf/*.psf -t "$out/share/consolefonts"
|
||||
install -m 644 -D *.otb -t "$otb/share/fonts/misc"
|
||||
mkfontdir "$out/share/fonts/misc"
|
||||
mkfontdir "$otb/share/fonts/misc"
|
||||
'';
|
||||
|
||||
outputs = [ "out" "otb" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Bitmapped programming font based on Tamsyn";
|
||||
longDescription = ''
|
||||
Tamzen is a monospace bitmap font. It is programatically 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 ];
|
||||
};
|
||||
}
|
||||
|
@ -18376,6 +18376,8 @@ in
|
||||
|
||||
tamsyn = callPackage ../data/fonts/tamsyn { inherit (buildPackages.xorg) mkfontscale; };
|
||||
|
||||
tamzen = callPackage ../data/fonts/tamzen { inherit (buildPackages.xorg) mkfontscale; };
|
||||
|
||||
tango-icon-theme = callPackage ../data/icons/tango-icon-theme {
|
||||
gtk = res.gtk2;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user