diff --git a/pkgs/desktops/xfce4-13/default.nix b/pkgs/desktops/xfce4-13/default.nix index 9989ebed4bc..dd40e111235 100644 --- a/pkgs/desktops/xfce4-13/default.nix +++ b/pkgs/desktops/xfce4-13/default.nix @@ -62,6 +62,8 @@ makeScope newScope (self: with self; { xfce4-power-manager = callPackage ./xfce4-power-manager { }; + xfce4-pulseaudio-plugin = callPackage ./xfce4-pulseaudio-plugin { }; + xfce4-screenshooter = callPackage ./xfce4-screenshooter { inherit (gnome3) libsoup; }; diff --git a/pkgs/desktops/xfce4-13/xfce4-pulseaudio-plugin/default.nix b/pkgs/desktops/xfce4-13/xfce4-pulseaudio-plugin/default.nix new file mode 100644 index 00000000000..185494c2543 --- /dev/null +++ b/pkgs/desktops/xfce4-13/xfce4-pulseaudio-plugin/default.nix @@ -0,0 +1,19 @@ +{ mkXfceDerivation, automakeAddFlags, dbus-glib, dbus, gtk3, libpulseaudio +, libnotify, libxfce4ui, libxfce4util, xfce4-panel, xfconf }: + +mkXfceDerivation rec { + category = "panel-plugins"; + pname = "xfce4-pulseaudio-plugin"; + version = "0.4.1"; + sha256 = "1c8krpg3l6ki00ldd9hifc4bddysdm0w3x5w43fkr31j0zrscvfp"; + + nativeBuildInputs = [ automakeAddFlags ]; + + NIX_CFLAGS_COMPILE = [ "-I${dbus-glib.dev}/include/dbus-1.0" "-I${dbus.dev}/include/dbus-1.0" ]; + + postPatch = '' + substituteInPlace configure.ac.in --replace gio-2.0 gio-unix-2.0 + ''; + + buildInputs = [ gtk3 libnotify libpulseaudio libxfce4ui libxfce4util xfce4-panel xfconf ]; +}