mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
20 lines
421 B
Nix
20 lines
421 B
Nix
{ 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
|
|
'';
|
|
}
|