5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
21 lines
664 B
Nix
21 lines
664 B
Nix
{ 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;
|
|
postFixup = ''
|
|
wrapProgram $out/bin/gcdemu \
|
|
''${gappsWrapperArgs[@]} \
|
|
--set PYTHONPATH "$PYTHONPATH"
|
|
'';
|
|
|
|
}
|