Unverified Commit 00000670 authored by Gergő Gutyina's avatar Gergő Gutyina Committed by GitHub
Browse files

minecraftia: use installFonts (#504832)

parents 2bc14b81 64b2a9b1
Loading
Loading
Loading
Loading
+2 −7
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  fetchzip,
  stdenvNoCC,
  installFonts,
}:

stdenvNoCC.mkDerivation {
@@ -14,13 +15,7 @@ stdenvNoCC.mkDerivation {
    stripRoot = false;
  };

  installPhase = ''
    runHook preInstall

    install -D -m444 -t $out/share/fonts/truetype $src/Minecraftia.ttf

    runHook postInstall
  '';
  nativeBuildInputs = [ installFonts ];

  meta = {
    homepage = "https://fontlibrary.org/en/font/minecraftia";