mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
25 lines
565 B
Nix
25 lines
565 B
Nix
{stdenv, fetchurl}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "steam-1.0.0.48";
|
|
|
|
src = fetchurl {
|
|
url = http://repo.steampowered.com/steam/pool/steam/s/steam/steam_1.0.0.48.tar.gz;
|
|
sha256 = "08y5qf75ssk4fnazyv2yz1c5zs7gjiwigaibv8yz1gbr290r0b52";
|
|
};
|
|
|
|
buildInputs = [ dpkg ];
|
|
unpackPhase = "true";
|
|
installPhase = ''
|
|
make DESTDIR=$out install
|
|
mv $out/usr/* $out #*/
|
|
rmdir $out/usr
|
|
'';
|
|
|
|
meta = {
|
|
description = "A digital distribution platform";
|
|
homepage = http://store.steampowered.com/;
|
|
license = stdenv.lib.licenses.unfree;
|
|
};
|
|
}
|