1{
2 callPackage,
3 cmake,
4 pkg-config,
5 wrapGAppsHook3,
6 gobject-introspection,
7 python3Packages,
8 libnotify,
9 intltool,
10 adwaita-icon-theme,
11 gdk-pixbuf,
12 libappindicator-gtk3,
13}:
14python3Packages.buildPythonApplication {
15
16 inherit
17 (callPackage ./common-drv-attrs.nix {
18 version = "3.2.6";
19 pname = "gcdemu";
20 hash = "sha256-w4vzKoSotL5Cjfr4Cu4YhNSWXJqS+n/vySrwvbhR1zA=";
21 })
22 pname
23 version
24 src
25 meta
26 ;
27
28 nativeBuildInputs = [
29 cmake
30 pkg-config
31 wrapGAppsHook3
32 intltool
33 gobject-introspection
34 ];
35 buildInputs = [
36 libnotify
37 adwaita-icon-theme
38 gdk-pixbuf
39 libappindicator-gtk3
40 ];
41 propagatedBuildInputs = with python3Packages; [ pygobject3 ];
42
43 pyproject = false;
44 dontWrapGApps = true;
45 preFixup = ''
46 makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
47 '';
48
49}