2020-06-18 07:06:33 +00:00
|
|
|
{ stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-06-02 18:00:15 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-06-02 18:00:15 +00:00
|
|
|
name = "steam-runtime";
|
|
|
|
# from https://repo.steampowered.com/steamrt-images-scout/snapshots/
|
|
|
|
version = "0.20200417.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-06-18 07:06:33 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://repo.steampowered.com/steamrt-images-scout/snapshots/${version}/steam-runtime.tar.xz";
|
|
|
|
sha256 = "0d4dfl6i31i8187wj8rr9yvmrg32bx96bsgs2ya21b00czf070sy";
|
|
|
|
name = "scout-runtime-${version}.tar.gz";
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildCommand = ''
|
|
|
|
mkdir -p $out
|
2020-06-18 07:06:33 +00:00
|
|
|
tar -C $out --strip=1 -x -f $src
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "The official runtime used by Steam";
|
|
|
|
homepage = "https://github.com/ValveSoftware/steam-runtime";
|
|
|
|
license = licenses.unfreeRedistributable; # Includes NVIDIA CG toolkit
|
|
|
|
maintainers = with maintainers; [ hrdinka abbradar ];
|
|
|
|
};
|
|
|
|
}
|