diff --git a/pkgs/applications/audio/whipper/default.nix b/pkgs/applications/audio/whipper/default.nix index 53d7262d78df..3af08cce73d0 100644 --- a/pkgs/applications/audio/whipper/default.nix +++ b/pkgs/applications/audio/whipper/default.nix @@ -3,9 +3,12 @@ , fetchFromGitHub , fetchpatch , installShellFiles +, wrapGAppsNoGuiHook +, gobject-introspection , libcdio-paranoia , cdrdao , libsndfile +, glib , flac , sox , util-linux @@ -37,6 +40,8 @@ in python3.pkgs.buildPythonApplication rec { nativeBuildInputs = with python3.pkgs; [ installShellFiles + wrapGAppsNoGuiHook + gobject-introspection setuptools-scm docutils @@ -54,7 +59,7 @@ in python3.pkgs.buildPythonApplication rec { setuptools ]; - buildInputs = [ libsndfile ]; + buildInputs = [ libsndfile glib ]; nativeCheckInputs = with python3.pkgs; [ twisted @@ -62,8 +67,11 @@ in python3.pkgs.buildPythonApplication rec { makeWrapperArgs = [ "--prefix" "PATH" ":" (lib.makeBinPath bins) + "\${gappsWrapperArgs[@]}" ]; + dontWrapGApps = true; + outputs = [ "out" "man" ]; postBuild = '' make -C man diff --git a/pkgs/development/python-modules/openrazer/daemon.nix b/pkgs/development/python-modules/openrazer/daemon.nix index 6fafcec4a38b..e2fd6cae9e71 100644 --- a/pkgs/development/python-modules/openrazer/daemon.nix +++ b/pkgs/development/python-modules/openrazer/daemon.nix @@ -12,6 +12,7 @@ setuptools, wrapGAppsNoGuiHook, notify2, + glib }: let @@ -32,13 +33,16 @@ buildPythonPackage (common // { --replace-fail "plugdev" "openrazer" ''; - nativeBuildInputs = [ setuptools wrapGAppsNoGuiHook ]; + nativeBuildInputs = [ setuptools wrapGAppsNoGuiHook gobject-introspection ]; + + buildInputs = [ + glib + gtk3 + ]; propagatedBuildInputs = [ daemonize dbus-python - gobject-introspection - gtk3 pygobject3 pyudev setproctitle diff --git a/pkgs/os-specific/linux/libratbag/default.nix b/pkgs/os-specific/linux/libratbag/default.nix index a35ab1dcc01c..3a13c53cf586 100644 --- a/pkgs/os-specific/linux/libratbag/default.nix +++ b/pkgs/os-specific/linux/libratbag/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config +{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, wrapGAppsNoGuiHook, gobject-introspection , glib, systemd, udev, libevdev, gitMinimal, check, valgrind, swig, python3 , json-glib, libunistring }: @@ -14,7 +14,7 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ - meson ninja pkg-config gitMinimal swig check valgrind + meson ninja pkg-config gitMinimal swig check valgrind wrapGAppsNoGuiHook gobject-introspection ]; buildInputs = [ diff --git a/pkgs/os-specific/linux/targetcli/default.nix b/pkgs/os-specific/linux/targetcli/default.nix index 6058b3509772..c30f64589bb8 100644 --- a/pkgs/os-specific/linux/targetcli/default.nix +++ b/pkgs/os-specific/linux/targetcli/default.nix @@ -1,4 +1,4 @@ -{ lib, python3, fetchFromGitHub, nixosTests }: +{ lib, python3, fetchFromGitHub, nixosTests, wrapGAppsNoGuiHook, gobject-introspection, glib }: python3.pkgs.buildPythonApplication rec { pname = "targetcli"; @@ -11,7 +11,10 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-9QYo7jGk9iWr26j0qPQCqYsJ+vLXAsO4Xs7+7VT9/yc="; }; - propagatedBuildInputs = with python3.pkgs; [ configshell rtslib ]; + nativeBuildInputs = [ wrapGAppsNoGuiHook gobject-introspection ]; + buildInputs = [ glib ]; + + propagatedBuildInputs = with python3.pkgs; [ configshell rtslib pygobject3 ]; postInstall = '' install -D targetcli.8 -t $out/share/man/man8/