nixpkgs/pkgs/games/steam/fonts.nix

21 lines
445 B
Nix
Raw Permalink Normal View History

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