nixpkgs/pkgs/games/steam/default.nix

23 lines
515 B
Nix
Raw Normal View History

2014-08-08 17:28:57 +02:00
{stdenv, fetchurl}:
stdenv.mkDerivation {
2014-08-08 17:28:57 +02:00
name = "steam-1.0.0.48";
2014-04-23 01:03:14 +02:00
src = fetchurl {
2014-08-08 17:28:57 +02:00
url = http://repo.steampowered.com/steam/pool/steam/s/steam/steam_1.0.0.48.tar.gz;
sha256 = "08y5qf75ssk4fnazyv2yz1c5zs7gjiwigaibv8yz1gbr290r0b52";
};
2014-04-23 01:03:14 +02:00
installPhase = ''
2014-08-08 17:28:57 +02:00
make DESTDIR=$out install
mv $out/usr/* $out #*/
rmdir $out/usr
'';
2014-04-23 01:03:14 +02:00
meta = {
description = "A digital distribution platform";
homepage = http://store.steampowered.com/;
license = stdenv.lib.licenses.unfree;
};
}