2024-06-05 15:53:02 +00:00
|
|
|
{ callPackage, cmake, pkg-config, wrapGAppsHook3, gobject-introspection
|
2024-07-27 06:49:29 +00:00
|
|
|
, python3Packages, libnotify, intltool, adwaita-icon-theme, gdk-pixbuf }:
|
2024-06-05 15:53:02 +00:00
|
|
|
python3Packages.buildPythonApplication {
|
2024-05-15 15:35:15 +00:00
|
|
|
|
|
|
|
inherit (callPackage ./common-drv-attrs.nix {
|
|
|
|
version = "3.2.6";
|
2022-01-25 03:21:06 +00:00
|
|
|
pname = "gcdemu";
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-w4vzKoSotL5Cjfr4Cu4YhNSWXJqS+n/vySrwvbhR1zA=";
|
|
|
|
}) pname version src meta;
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config wrapGAppsHook3 intltool gobject-introspection ];
|
2024-07-27 06:49:29 +00:00
|
|
|
buildInputs = [ libnotify adwaita-icon-theme gdk-pixbuf ];
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = with python3Packages; [ pygobject3 ];
|
2024-05-15 15:35:15 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pyproject = false;
|
2024-05-15 15:35:15 +00:00
|
|
|
dontWrapGApps = true;
|
2024-06-05 15:53:02 +00:00
|
|
|
preFixup = ''
|
|
|
|
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
2024-05-15 15:35:15 +00:00
|
|
|
'';
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|