2024-05-15 10:34:31 +00:00
|
|
|
{ stdenv, callPackage, cmake, pkg-config, wrapGAppsHook3
|
|
|
|
, python3Packages, libnotify, intltool, gnome, gdk-pixbuf, librsvg }:
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
|
|
|
|
inherit (callPackage ./common-drv-attrs.nix {
|
|
|
|
version = "3.2.6";
|
|
|
|
pname = "gcdemu";
|
|
|
|
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 ];
|
|
|
|
|
|
|
|
dontWrapGApps = true;
|
2024-05-14 23:06:12 +00:00
|
|
|
postFixup = ''
|
|
|
|
wrapProgram $out/bin/gcdemu \
|
2024-05-15 10:34:31 +00:00
|
|
|
''${gappsWrapperArgs[@]} \
|
2024-05-14 23:06:12 +00:00
|
|
|
--set PYTHONPATH "$PYTHONPATH"
|
|
|
|
'';
|
2024-05-15 10:34:31 +00:00
|
|
|
|
2015-02-10 01:27:04 +00:00
|
|
|
}
|