3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/games/steam/fonts.nix

20 lines
429 B
Nix
Raw Normal View History

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