diff --git a/pkgs/games/steam/runtime.nix b/pkgs/games/steam/runtime.nix new file mode 100644 index 000000000000..9c6b07fa1245 --- /dev/null +++ b/pkgs/games/steam/runtime.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "steam-runtime-${version}"; + version = "2014-04-15"; + + phases = [ "unpackPhase" "installPhase" ]; + + src = fetchurl { + url = "http://media.steampowered.com/client/runtime/steam-runtime-release_${version}.tar.xz"; + sha256 = "0i6xp81rjbfn4664h4mmvw0xjwlwvdp6k7cc53jfjadcblw5cf99"; + }; + + installPhase = '' + mkdir -p $out + mv * $out/ + ''; + + meta = with stdenv.lib; { + description = "The official runtime used by Steam"; + homepage = http://store.steampowered.com/; + license = licenses.unfreeRedistributable; + maintainers = with maintainers; [ hrdinka ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1048b1b9c612..bdd7411791bf 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13788,6 +13788,8 @@ let withRuntime = config.steam.withRuntime or true; }; + steam-runtime = callPackage ../games/steam/runtime.nix { }; + stuntrally = callPackage ../games/stuntrally { }; superTux = callPackage ../games/super-tux { };