1 { buildPythonApplication
11 , gobject-introspection
36 # commands that lutris needs
54 # See lutris/util/linux.py
73 binPath = lib.makeBinPath requiredTools;
75 gstDeps = with gst_all_1; [
85 buildPythonApplication rec {
86 pname = "lutris-original";
89 src = fetchFromGitHub {
92 rev = "refs/tags/v${version}";
93 sha256 = "sha256-D2qMKYmi5TC8jEAECcz2V0rUrmp5kjXJ5qyW6C4re3w=";
96 nativeBuildInputs = [ wrapGAppsHook ];
102 gobject-introspection
110 propagatedBuildInputs = [
124 substituteInPlace lutris/util/magic.py \
125 --replace "'libmagic.so.1'" "'${lib.getLib file}/lib/libmagic.so.1'"
129 checkInputs = [ xvfb-run nose2 flake8 ] ++ requiredTools;
130 preCheck = "export HOME=$PWD";
133 xvfb-run -s '-screen 0 800x600x24' make test
137 # avoid double wrapping
138 dontWrapGApps = true;
140 "--prefix PATH : ${binPath}"
141 "\${gappsWrapperArgs[@]}"
143 # needed for glib-schemas to work correctly (will crash on dialogues otherwise)
144 # see https://github.com/NixOS/nixpkgs/issues/56943
148 homepage = "https://lutris.net";
149 description = "Open Source gaming platform for GNU/Linux";
150 license = licenses.gpl3Plus;
151 maintainers = with maintainers; [ Madouura ];
152 platforms = platforms.linux;