Change:
Package name: protontricks Latest released version: 1.12.0 <!-- Search your package here: --- Current version on the unstable channel: 1.11.1 Current version on the stable/release channel: 1.11.1 <!-- Type the name of your package and try to find an open pull request for the package If you find an open pull request, you can review it! There's a high chance that you'll have the new version right away while helping the community! --- Notify maintainers <!-- If the result shows no maintainers, tag the person that last updated the package. -- Note for maintainers: Please tag this issue in your PR. Solves the following bug / problem Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:

Discussion:
lib, buildPythonPackage, fetchFromGitHub, <ins> fetchpatch2, </ins> mock, pytestCheckHook, <ins> nix-update-script, </ins> }: buildPythonPackage rec {

src = fetchFromGitHub { owner = "ValvePython"; <del> repo = pname; rev = "v${version}"; </del> <ins> repo = "vdf"; rev = "refs/tags/v${version}"; </ins> hash = "sha256-6ozglzZZNKDtADkHwxX2Zsnkh6BE8WbcRcC9HkTTgPU="; }; <ins> patches = [ # Support appinfo.vdf v29 (required by protontricks 1.12.0) (fetchpatch2 { url = "https://github.com/Matoking/vdf/commit/981cad270c2558aeb8eccaf42cfcf9fabbbed199.patch"; hash = "sha256-kLAbbB0WHjxq4rokLoGTPx43BU44EshteR59Ey9JnXo="; }) ]; </ins> nativeCheckInputs = [ mock pytestCheckHook ]; pythonImportsCheck = [ "vdf" ]; <ins> # Use nix-update-script instead of the default python updater # The python updater requires GitHub releases, but vdf only uses tags passthru.updateScript = nix-update-script { }; </ins> meta = with lib; { description = "Library for working with Valve's VDF text format"; homepage = "https://github.com/ValvePython/vdf";

<del> { lib , buildPythonApplication , fetchFromGitHub , setuptools-scm , setuptools , vdf , pillow , substituteAll , writeShellScript , steam-run , winetricks , yad , pytestCheckHook , nix-update-script , extraCompatPaths ? "" </del> <ins> { lib, buildPythonApplication, fetchFromGitHub, substituteAll, writeShellScript, steam-run, fetchpatch2, setuptools-scm, setuptools, vdf, pillow, winetricks, yad, pytestCheckHook, nix-update-script, extraCompatPaths ? "", </ins> }: buildPythonApplication rec { pname = "protontricks"; <del> version = "1.11.1"; </del> <ins> version = "1.12.0"; </ins> src = fetchFromGitHub { owner = "Matoking"; <del> repo = pname; rev = version; sha256 = "sha256-a40IAFrzQ0mogMoXKb+Lp0fPc1glYophqtftigk3nAc="; </del> <ins> repo = "protontricks"; rev = "refs/tags/${version}"; hash = "sha256-dCb8mcwXoxD4abJjLEwk5tGp65XkvepmOX+Kc9Dl7fQ="; </ins> }; patches = [

exec ${lib.getExe steam-run} bash "$@" ''; }) <ins> # Revert vendored vdf since our vdf includes `appinfo.vdf` v29 support (fetchpatch2 { url = "https://github.com/Matoking/protontricks/commit/4198b7ea82369a91e3084d6e185f9b370f78eaec.patch"; revert = true; hash = "sha256-1U/LiAliKtk3ygbIBsmoavXN0RSykiiegtml+bO8CnI="; }) # Fix test_run_no_args test (fetchpatch2 { url = "https://github.com/Matoking/protontricks/commit/ff2381ad379a612e73f0d4604f1c9c3a012b3355.patch"; hash = "sha256-aiafLbiqS6TBBiQpfTYPVqhQs2OXYg/4yCtbuTv6Ug8="; }) </ins> ]; nativeBuildInputs = [ setuptools-scm ];

pillow ]; <del> makeWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ winetricks yad ]}" # Steam Runtime does not work outside of steam-run, so don't use it "--set STEAM_RUNTIME 0" ] ++ lib.optional (extraCompatPaths != "") "--set STEAM_EXTRA_COMPAT_TOOLS_PATHS ${extraCompatPaths}"; </del> <ins> makeWrapperArgs = [ "--prefix PATH : ${ lib.makeBinPath [ winetricks yad ] }" # Steam Runtime does not work outside of steam-run, so don't use it "--set STEAM_RUNTIME 0" ] ++ lib.optional (extraCompatPaths != "") "--set STEAM_EXTRA_COMPAT_TOOLS_PATHS ${extraCompatPaths}"; </ins> nativeCheckInputs = [ pytestCheckHook ];

homepage = "https://github.com/Matoking/protontricks"; license = licenses.gpl3Only; maintainers = with maintainers; [ kira-bruneau ]; <del> platforms = [ "x86_64-linux" "i686-linux" ]; </del> <ins> platforms = [ "x86_64-linux" "i686-linux" ]; </ins> }; }

steamback = python311.pkgs.callPackage ../tools/games/steamback { }; protontricks = python3Packages.callPackage ../tools/package-management/protontricks { <del> inherit winetricks steam-run yad; </del> <ins> steam-run = steam-run-free; inherit winetricks yad; </ins> }; protonup-ng = with python3Packages; toPythonApplication protonup-ng;