git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commit66fffe99d85f7d1f7d7a7f655b35bf8b13f93811 authorDaniel Schaefer <git@danielschaefer.me> dateWed 12 Jun 2019, 23:33 (7 years ago) parent35ee15d
3 files changed+24−1
pkgs/misc/emulators/wine/fonts.nix+22 pkgs/top-level/all-packages.nix+1−1 pkgs/top-level/wine-packages.nix+1
pkgs/misc/emulators/wine/fonts.nixnew file+22
@@ -0,0 +1,22 @@
1+{ stdenv, lib, callPackage }:
2+let src = (callPackage ./sources.nix {}).stable;
3+in
4+stdenv.mkDerivation {
5+ pname = "wine-fonts";
6+ inherit (src) version;
7+
8+ sourceRoot = "wine-${src.version}/fonts";
9+ inherit src;
10+
11+ installPhase = ''
12+ install *.ttf -Dt $out/share/fonts/wine
13+ '';
14+
15+ meta = {
16+ description = "Microsoft replacement fonts by the Wine project";
17+ homepage = "https://wiki.winehq.org/Create_Fonts";
18+ license = with lib.licenses; [ lgpl21Plus ];
19+ platforms = lib.platforms.all;
20+ maintainers = with lib.maintainers; [ avnik raskin bendlas johnazoidberg ];
21+ };
22+}
pkgs/top-level/all-packages.nix+1−1
@@ -23918,7 +23918,7 @@ in
2391823918 inherit wineBuild;
2391923919
2392023920 inherit (callPackage ./wine-packages.nix {})
23921− minimal base full stable unstable staging;
23921+ minimal base full stable unstable staging fonts;
2392223922 });
2392323923
2392423924 winePackages = recurseIntoAttrs (winePackagesFor (config.wine.build or "wine32"));
pkgs/top-level/wine-packages.nix+1
@@ -1,6 +1,7 @@
11{ stdenv, config, callPackage, wineBuild }:
22
33rec {
4+ fonts = callPackage ../misc/emulators/wine/fonts.nix {};
45 minimal = callPackage ../misc/emulators/wine {
56 wineRelease = config.wine.release or "stable";
67 inherit wineBuild;