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
, fetchFromGitHub
, setuptools-scm
, setuptools
, vdf
, pillow
, substituteAll
, writeShellScript
, steam-run
, fetchpatch2
, winetricks
, yad
, pytestCheckHook
, nix-update-script
, extraCompatPaths ? ""
{
lib,
buildPythonApplication,
fetchFromGitHub,
substituteAll,
writeShellScript,
steam-run,
fetchpatch2,
setuptools-scm,
setuptools,
vdf,
pillow,
winetricks,
yad,
pytestCheckHook,
nix-update-script,
extraCompatPaths ? "",
}:
buildPythonApplication rec {
@ -59,14 +60,18 @@ buildPythonApplication rec {
pillow
];
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}";
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}";
nativeCheckInputs = [ pytestCheckHook ];
@ -85,6 +90,9 @@ buildPythonApplication rec {
homepage = "https://github.com/Matoking/protontricks";
license = licenses.gpl3Only;
maintainers = with maintainers; [ kira-bruneau ];
platforms = [ "x86_64-linux" "i686-linux" ];
platforms = [
"x86_64-linux"
"i686-linux"
];
};
}