winePackages.fonts: init at 4.0
"Wine's fonts should be a natural candidate for their own subpackage" https://wiki.winehq.org/Packaging They are a replacement for some Microsoft fonts not available in other replacement packages.
This commit is contained in:
parent
35ee15ded8
commit
66fffe99d8
22
pkgs/misc/emulators/wine/fonts.nix
Normal file
22
pkgs/misc/emulators/wine/fonts.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{ 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 ];
|
||||
};
|
||||
}
|
@ -23918,7 +23918,7 @@ in
|
||||
inherit wineBuild;
|
||||
|
||||
inherit (callPackage ./wine-packages.nix {})
|
||||
minimal base full stable unstable staging;
|
||||
minimal base full stable unstable staging fonts;
|
||||
});
|
||||
|
||||
winePackages = recurseIntoAttrs (winePackagesFor (config.wine.build or "wine32"));
|
||||
|
@ -1,6 +1,7 @@
|
||||
{ stdenv, config, callPackage, wineBuild }:
|
||||
|
||||
rec {
|
||||
fonts = callPackage ../misc/emulators/wine/fonts.nix {};
|
||||
minimal = callPackage ../misc/emulators/wine {
|
||||
wineRelease = config.wine.release or "stable";
|
||||
inherit wineBuild;
|
||||
|
Loading…
Reference in New Issue
Block a user