Unverified Commit d732a515 authored by Ramses's avatar Ramses Committed by GitHub
Browse files

linux-libertine-g: use installFonts (#513555)

parents 4d3329f8 39922dd1
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchzip,
  installFonts,
}:

stdenv.mkDerivation (finalAttrs: {
@@ -13,10 +14,7 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-UGTB7jsI6peivCtEt96RCSi5XHCrnjCSs0Ud5bF7uxk=";
  };

  installPhase = ''
    mkdir -p $out/share/fonts/truetype
    cp -r *.ttf $out/share/fonts/truetype
  '';
  nativeBuildInputs = [ installFonts ];

  meta = {
    description = "Graphite versions of Linux Libertine and Linux Biolinum font families for LibreOffice and OpenOffice.org";