protontricks: 1.11.1 -> 1.12.0

This commit is contained in:
Kira Bruneau
2024-09-25 15:46:45 -04:00
parent b67916b290
commit 8482aefb4f
@@ -8,6 +8,7 @@
, substituteAll
, writeShellScript
, steam-run
, fetchpatch2
, winetricks
, yad
, pytestCheckHook
@@ -17,13 +18,13 @@
buildPythonApplication rec {
pname = "protontricks";
version = "1.11.1";
version = "1.12.0";
src = fetchFromGitHub {
owner = "Matoking";
repo = pname;
rev = version;
sha256 = "sha256-a40IAFrzQ0mogMoXKb+Lp0fPc1glYophqtftigk3nAc=";
repo = "protontricks";
rev = "refs/tags/${version}";
hash = "sha256-dCb8mcwXoxD4abJjLEwk5tGp65XkvepmOX+Kc9Dl7fQ=";
};
patches = [
@@ -35,6 +36,19 @@ buildPythonApplication rec {
exec ${lib.getExe steam-run} bash "$@"
'';
})
# 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=";
})
];
nativeBuildInputs = [ setuptools-scm ];