mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
5c5c20919b
It is widely used outside gnome – although it probably should not be.
22 lines
713 B
Nix
22 lines
713 B
Nix
{ callPackage, cmake, pkg-config, wrapGAppsHook3, gobject-introspection
|
|
, python3Packages, libnotify, intltool, adwaita-icon-theme, gdk-pixbuf }:
|
|
python3Packages.buildPythonApplication {
|
|
|
|
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 gobject-introspection ];
|
|
buildInputs = [ libnotify adwaita-icon-theme gdk-pixbuf ];
|
|
propagatedBuildInputs = with python3Packages; [ pygobject3 ];
|
|
|
|
pyproject = false;
|
|
dontWrapGApps = true;
|
|
preFixup = ''
|
|
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
|
'';
|
|
|
|
}
|