Commit 36449687 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by github-actions[bot]
Browse files

python311Packages.openrazer: fix gobjects, double wrapping

(cherry picked from commit 9dd5cef4)
parent 94c402f6
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -6,12 +6,11 @@
  fetchFromGitHub,
  gobject-introspection,
  gtk3,
  makeWrapper,
  pygobject3,
  pyudev,
  setproctitle,
  setuptools,
  wrapGAppsHook3,
  wrapGAppsNoGuiHook,
  notify2,
}:

@@ -33,7 +32,7 @@ buildPythonPackage (common // {
      --replace-fail "plugdev" "openrazer"
  '';

  nativeBuildInputs = [ setuptools ];
  nativeBuildInputs = [ setuptools wrapGAppsNoGuiHook ];

  propagatedBuildInputs = [
    daemonize
@@ -53,6 +52,12 @@ buildPythonPackage (common // {
  # no tests run
  doCheck = false;

  dontWrapGApps = true;

  preFixup = ''
    makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
  '';

  meta = common.meta // {
    description = "An entirely open source user-space daemon that allows you to manage your Razer peripherals on GNU/Linux";
    mainProgram = "openrazer-daemon";