2020-06-13 23:41:22 +02:00
|
|
|
{ stdenv, fetchurl }:
|
2015-08-06 19:06:38 +02:00
|
|
|
|
2020-05-08 08:31:00 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2020-05-08 09:32:02 +02:00
|
|
|
|
2020-05-08 08:31:00 +02:00
|
|
|
name = "steam-runtime";
|
|
|
|
# from https://repo.steampowered.com/steamrt-images-scout/snapshots/
|
2020-07-28 16:52:28 +02:00
|
|
|
version = "0.20200720.0";
|
2015-08-06 19:06:38 +02:00
|
|
|
|
2020-06-13 23:41:22 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://repo.steampowered.com/steamrt-images-scout/snapshots/${version}/steam-runtime.tar.xz";
|
2020-07-28 16:52:28 +02:00
|
|
|
sha256 = "03qdlr1xk84jb4c60ilis00vjhj70bxc0bbgk5g5b1883l2frljd";
|
2020-06-13 23:41:22 +02:00
|
|
|
name = "scout-runtime-${version}.tar.gz";
|
|
|
|
};
|
2015-08-06 19:06:38 +02:00
|
|
|
|
2015-10-20 16:08:44 +02:00
|
|
|
buildCommand = ''
|
2015-08-06 19:06:38 +02:00
|
|
|
mkdir -p $out
|
2020-06-13 23:41:22 +02:00
|
|
|
tar -C $out --strip=1 -x -f $src
|
2015-08-06 19:06:38 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "The official runtime used by Steam";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/ValveSoftware/steam-runtime";
|
2015-10-20 16:08:44 +02:00
|
|
|
license = licenses.unfreeRedistributable; # Includes NVIDIA CG toolkit
|
|
|
|
maintainers = with maintainers; [ hrdinka abbradar ];
|
2015-08-06 19:06:38 +02:00
|
|
|
};
|
|
|
|
}
|