protontricks: format using nixfmt-rfc-style

This commit is contained in:
Kira Bruneau 2024-09-19 11:32:23 -04:00
parent 8482aefb4f
commit 7af4120e30

View File

@ -1,19 +1,20 @@
{ lib {
, buildPythonApplication lib,
, fetchFromGitHub buildPythonApplication,
, setuptools-scm fetchFromGitHub,
, setuptools substituteAll,
, vdf writeShellScript,
, pillow steam-run,
, substituteAll fetchpatch2,
, writeShellScript setuptools-scm,
, steam-run setuptools,
, fetchpatch2 vdf,
, winetricks pillow,
, yad winetricks,
, pytestCheckHook yad,
, nix-update-script pytestCheckHook,
, extraCompatPaths ? "" nix-update-script,
extraCompatPaths ? "",
}: }:
buildPythonApplication rec { buildPythonApplication rec {
@ -59,14 +60,18 @@ buildPythonApplication rec {
pillow pillow
]; ];
makeWrapperArgs = [ makeWrapperArgs =
"--prefix PATH : ${lib.makeBinPath [ [
winetricks "--prefix PATH : ${
yad lib.makeBinPath [
]}" winetricks
# Steam Runtime does not work outside of steam-run, so don't use it yad
"--set STEAM_RUNTIME 0" ]
] ++ lib.optional (extraCompatPaths != "") "--set STEAM_EXTRA_COMPAT_TOOLS_PATHS ${extraCompatPaths}"; }"
# 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}";
nativeCheckInputs = [ pytestCheckHook ]; nativeCheckInputs = [ pytestCheckHook ];
@ -85,6 +90,9 @@ buildPythonApplication rec {
homepage = "https://github.com/Matoking/protontricks"; homepage = "https://github.com/Matoking/protontricks";
license = licenses.gpl3Only; license = licenses.gpl3Only;
maintainers = with maintainers; [ kira-bruneau ]; maintainers = with maintainers; [ kira-bruneau ];
platforms = [ "x86_64-linux" "i686-linux" ]; platforms = [
"x86_64-linux"
"i686-linux"
];
}; };
} }