nixpkgs-suyu/pkgs/games/steam/fonts.nix

21 lines
445 B
Nix
Raw Normal View History

2015-10-15 14:17:13 +02:00
{ stdenv, fetchurl, unzip }:
stdenv.mkDerivation {
2021-06-22 23:44:58 +02:00
pname = "steam-fonts";
version = "1";
2015-10-15 14:17:13 +02:00
src = fetchurl {
url = "https://support.steampowered.com/downloads/1974-YFKL-4947/SteamFonts.zip";
2015-10-15 14:17:13 +02:00
sha256 = "1cgygmwich5f1jhhbmbkkpnzasjl8gy36xln76n6r2gjh6awqfx0";
};
nativeBuildInputs = [ unzip ];
2015-10-15 14:17:13 +02:00
sourceRoot = ".";
installPhase = ''
mkdir -p $out/share/fonts/truetype
cp -r *.TTF *.ttf $out/share/fonts/truetype
'';
}