2024-05-15 13:12:49 +00:00
|
|
|
{ callPackage, cmake, pkg-config, wrapGAppsHook3, gobject-introspection
|
2024-06-22 12:43:05 +00:00
|
|
|
, python3Packages, libnotify, intltool, adwaita-icon-theme, gdk-pixbuf }:
|
2024-05-15 13:12:49 +00:00
|
|
|
python3Packages.buildPythonApplication {
|
2024-05-15 10:34:31 +00:00
|
|
|
|
|
|
|
inherit (callPackage ./common-drv-attrs.nix {
|
|
|
|
version = "3.2.6";
|
|
|
|
pname = "gcdemu";
|
|
|
|
hash = "sha256-w4vzKoSotL5Cjfr4Cu4YhNSWXJqS+n/vySrwvbhR1zA=";
|
|
|
|
}) pname version src meta;
|
|
|
|
|
2024-05-15 13:12:49 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config wrapGAppsHook3 intltool gobject-introspection ];
|
2024-06-22 12:43:05 +00:00
|
|
|
buildInputs = [ libnotify adwaita-icon-theme gdk-pixbuf ];
|
2024-05-15 13:12:49 +00:00
|
|
|
propagatedBuildInputs = with python3Packages; [ pygobject3 ];
|
2024-05-15 10:34:31 +00:00
|
|
|
|
2024-05-15 13:12:49 +00:00
|
|
|
pyproject = false;
|
2024-05-15 10:34:31 +00:00
|
|
|
dontWrapGApps = true;
|
2024-05-15 13:12:49 +00:00
|
|
|
preFixup = ''
|
|
|
|
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
2024-05-14 23:06:12 +00:00
|
|
|
'';
|
2024-05-15 10:34:31 +00:00
|
|
|
|
2015-02-10 01:27:04 +00:00
|
|
|
}
|