mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
66fffe99d8
"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.
22 lines
591 B
Nix
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 ];
|
|
};
|
|
}
|