2014-08-08 16:28:57 +01:00
|
|
|
{stdenv, fetchurl}:
|
2013-09-13 22:58:59 +01:00
|
|
|
|
2014-11-03 17:00:49 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${program}-${version}";
|
|
|
|
program = "steam";
|
|
|
|
version = "1.0.0.49";
|
2014-04-23 00:03:14 +01:00
|
|
|
|
2013-09-13 22:58:59 +01:00
|
|
|
src = fetchurl {
|
2014-11-03 17:00:49 +00:00
|
|
|
url = "http://repo.steampowered.com/steam/pool/steam/s/steam/${program}_${version}.tar.gz";
|
|
|
|
sha256 = "1c1gl5pwvb5gnnnqf5d9hpcjnfjjgmn4lgx8v0fbx1am5xf3p2gx";
|
2013-09-13 22:58:59 +01:00
|
|
|
};
|
2014-04-23 00:03:14 +01:00
|
|
|
|
2013-09-13 22:58:59 +01:00
|
|
|
installPhase = ''
|
2014-08-08 16:28:57 +01:00
|
|
|
make DESTDIR=$out install
|
|
|
|
mv $out/usr/* $out #*/
|
|
|
|
rmdir $out/usr
|
2013-09-13 22:58:59 +01:00
|
|
|
'';
|
2014-04-23 00:03:14 +01:00
|
|
|
|
2013-09-13 22:58:59 +01:00
|
|
|
meta = {
|
|
|
|
description = "A digital distribution platform";
|
|
|
|
homepage = http://store.steampowered.com/;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.unfree;
|
2014-11-03 17:00:49 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.jagajaga ];
|
2013-09-13 22:58:59 +01:00
|
|
|
};
|
|
|
|
}
|