steam-fonts: init at 1
This commit is contained in:
parent
a7177216c6
commit
2286c1894d
|
@ -8,6 +8,7 @@ let
|
|||
steam-runtime-wrapped = callPackage ./runtime-wrapped.nix { };
|
||||
steam = callPackage ./steam.nix { };
|
||||
steam-chrootenv = callPackage ./chrootenv.nix { };
|
||||
steam-fonts = callPackage ./fonts.nix { };
|
||||
};
|
||||
|
||||
in self
|
||||
|
|
19
pkgs/games/steam/fonts.nix
Normal file
19
pkgs/games/steam/fonts.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ stdenv, fetchurl, unzip }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "steam-fonts-1";
|
||||
|
||||
src = fetchurl {
|
||||
url = https://support.steampowered.com/downloads/1974-YFKL-4947/SteamFonts.zip;
|
||||
sha256 = "1cgygmwich5f1jhhbmbkkpnzasjl8gy36xln76n6r2gjh6awqfx0";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
|
||||
sourceRoot = ".";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
cp -r *.TTF *.ttf $out/share/fonts/truetype
|
||||
'';
|
||||
}
|
Loading…
Reference in a new issue