nixpkgs/pkgs/applications/emulators/wine/fonts.nix
AndersonTorres 8d65e832f0 Move misc/emulators to applications/emulators - part 1
Emulators form a class by themselves. So, they should be moved to applications/.
2022-02-16 01:38:20 -03:00

22 lines
591 B
Nix

{ stdenv, lib, callPackage }:
let src = (callPackage ./sources.nix {}).stable;
in
stdenv.mkDerivation {
pname = "wine-fonts";
inherit (src) version;
sourceRoot = "wine-${src.version}/fonts";
inherit src;
installPhase = ''
install *.ttf -Dt $out/share/fonts/wine
'';
meta = {
description = "Microsoft replacement fonts by the Wine project";
homepage = "https://wiki.winehq.org/Create_Fonts";
license = with lib.licenses; [ lgpl21Plus ];
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ avnik raskin bendlas johnazoidberg ];
};
}