Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

protontricks: 1.4.4 -> 1.5.0 #120612

Merged
merged 1 commit into from Apr 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 5 additions & 11 deletions pkgs/tools/package-management/protontricks/default.nix
Expand Up @@ -3,6 +3,7 @@
, fetchFromGitHub
, setuptools_scm
, vdf
, bash
, steam-run
, winetricks
, zenity
Expand All @@ -11,13 +12,13 @@

buildPythonApplication rec {
pname = "protontricks";
version = "1.4.4";
version = "1.5.0";

src = fetchFromGitHub {
owner = "Matoking";
repo = pname;
rev = version;
sha256 = "0i7p0jj7avmq3b2qlcpwcflipndrnwsvwvhc5aal7rm95aa7xhja";
hash = "sha256-IHgoi5VUN3ORbufkruPb6wR7pTekJFQHhhDrnjOWzWM=";
};

patches = [
Expand All @@ -34,6 +35,7 @@ buildPythonApplication rec {

makeWrapperArgs = [
"--prefix PATH : ${lib.makeBinPath [
bash
steam-run
(winetricks.override {
# Remove default build of wine to reduce closure size.
Expand All @@ -45,15 +47,7 @@ buildPythonApplication rec {
];

checkInputs = [ pytestCheckHook ];
disabledTests = [
# Steam runtime is hard-coded with steam-run.patch and can't be configured
"test_run_steam_runtime_not_found"
"test_unknown_steam_runtime_detected"

# Steam runtime 2 currently isn't supported
# See https://github.com/NixOS/nixpkgs/issues/100655
"test_run_winetricks_steam_runtime_v2"
];
pythonImportsCheck = [ "protontricks" ];

meta = with lib; {
description = "A simple wrapper for running Winetricks commands for Proton-enabled games";
Expand Down