protontricks: format using nixfmt-rfc-style
This commit is contained in:
parent
8482aefb4f
commit
7af4120e30
@ -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 [
|
||||
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}";
|
||||
]
|
||||
++ 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"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user