diff --git a/pkgs/data/fonts/tamzen/default.nix b/pkgs/data/fonts/tamzen/default.nix index c4a2be00d9445..6ecc03d731069 100644 --- a/pkgs/data/fonts/tamzen/default.nix +++ b/pkgs/data/fonts/tamzen/default.nix @@ -1,28 +1,22 @@ -{ fetchFromGitHub, fontforge, mkfontscale, stdenv }: +{ fetchFromGitHub, mkfontscale, stdenv }: stdenv.mkDerivation rec { pname = "tamzen-font"; - version = "1.11.4"; + version = "1.11.5"; src = fetchFromGitHub { owner = "sunaku"; repo = "tamzen-font"; rev = "Tamzen-${version}"; - sha256 = "17kgmvg6q32mqhx9g44hjvzv0si0mnpprga4z7na930g2zdd8846"; + sha256 = "00x5fipzqimglvshhqwycdhaqslbvn3rl06jnswhyxfvz16ymj7s"; }; - nativeBuildInputs = [ fontforge mkfontscale ]; + nativeBuildInputs = [ 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" + install -m 644 -D otb/*.otb -t "$otb/share/fonts/misc" mkfontdir "$out/share/fonts/misc" mkfontdir "$otb/share/fonts/misc" '';