diff options
Diffstat (limited to 'pkgs/applications/emulators/cdemu/gui.nix')
-rw-r--r-- | pkgs/applications/emulators/cdemu/gui.nix | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/pkgs/applications/emulators/cdemu/gui.nix b/pkgs/applications/emulators/cdemu/gui.nix index b4a886471bb94..ff2ebd68ca4d1 100644 --- a/pkgs/applications/emulators/cdemu/gui.nix +++ b/pkgs/applications/emulators/cdemu/gui.nix @@ -1,6 +1,6 @@ -{ stdenv, callPackage, cmake, pkg-config, wrapGAppsHook3 -, python3Packages, libnotify, intltool, gnome, gdk-pixbuf, librsvg }: -stdenv.mkDerivation { +{ callPackage, cmake, pkg-config, wrapGAppsHook3, gobject-introspection +, python3Packages, libnotify, intltool, gnome, gdk-pixbuf }: +python3Packages.buildPythonApplication { inherit (callPackage ./common-drv-attrs.nix { version = "3.2.6"; @@ -8,14 +8,14 @@ stdenv.mkDerivation { hash = "sha256-w4vzKoSotL5Cjfr4Cu4YhNSWXJqS+n/vySrwvbhR1zA="; }) pname version src meta; - nativeBuildInputs = [ cmake pkg-config wrapGAppsHook3 intltool ]; - buildInputs = [ python3Packages.pygobject3 libnotify gnome.adwaita-icon-theme gdk-pixbuf librsvg ]; + nativeBuildInputs = [ cmake pkg-config wrapGAppsHook3 intltool gobject-introspection ]; + buildInputs = [ libnotify gnome.adwaita-icon-theme gdk-pixbuf ]; + propagatedBuildInputs = with python3Packages; [ pygobject3 ]; + pyproject = false; dontWrapGApps = true; - postFixup = '' - wrapProgram $out/bin/gcdemu \ - ''${gappsWrapperArgs[@]} \ - --set PYTHONPATH "$PYTHONPATH" + preFixup = '' + makeWrapperArgs+=("''${gappsWrapperArgs[@]}") ''; } |