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 {
|
2020-04-01 03:11:51 +02:00
|
|
|
url = "https://support.steampowered.com/downloads/1974-YFKL-4947/SteamFonts.zip";
|
2015-10-15 14:17:13 +02:00
|
|
|
sha256 = "1cgygmwich5f1jhhbmbkkpnzasjl8gy36xln76n6r2gjh6awqfx0";
|
|
|
|
};
|
|
|
|
|
2021-02-20 22:01:53 +01:00
|
|
|
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
|
|
|
|
'';
|
|
|
|
}
|