steamPackages.steam-runtime: move to finalAttrs
explicitly use lib where needed
This commit is contained in:
parent
ffe2d584e8
commit
cfe7930b94
1 changed files with 8 additions and 8 deletions
|
@ -4,16 +4,16 @@
|
|||
, writeShellScript, curl, nix-update
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
pname = "steam-runtime";
|
||||
# from https://repo.steampowered.com/steamrt-images-scout/snapshots/latest-steam-client-general-availability/VERSION.txt
|
||||
version = "0.20231127.68515";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://repo.steampowered.com/steamrt-images-scout/snapshots/${version}/steam-runtime.tar.xz";
|
||||
sha256 = "sha256-invUOdJGNhrswsj9Vj/bSAkEigWtBQ554sBAyvPf0mk=";
|
||||
name = "scout-runtime-${version}.tar.gz";
|
||||
url = "https://repo.steampowered.com/steamrt-images-scout/snapshots/${finalAttrs.version}/steam-runtime.tar.xz";
|
||||
hash = "sha256-invUOdJGNhrswsj9Vj/bSAkEigWtBQ554sBAyvPf0mk=";
|
||||
name = "scout-runtime-${finalAttrs.version}.tar.gz";
|
||||
};
|
||||
|
||||
buildCommand = ''
|
||||
|
@ -28,10 +28,10 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
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 ];
|
||||
license = lib.licenses.unfreeRedistributable; # Includes NVIDIA CG toolkit
|
||||
maintainers = with lib.maintainers; [ hrdinka abbradar ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue