about summary refs log tree commit diff
path: root/pkgs/desktops/xfce4-14/xfce4-mixer/default.nix
blob: a4bc0a3eaddb29fbd9b732c361e49b096e04a4b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ mkXfceDerivation, automakeAddFlags, dbus-glib, gtk2, libxfce4ui, libxfce4util, xfce4-panel, xfconf, gst-plugins-base, libunique }:

let
  gst_plugins_minimal = gst-plugins-base.override {
    minimalDeps = true;
  };
in
mkXfceDerivation rec {
  category = "apps";
  pname = "xfce4-mixer";
  version = "4.11.0";

  sha256 = "1kiz5ysn4rqkjfzz4dvbsfj64kqqayg7bqakcys3rw28g2q5qyys";

  nativeBuildInputs = [ automakeAddFlags ];

  postPatch = ''
    automakeAddFlags panel-plugin/Makefile.am libmixer_la_CFLAGS DBUS_GLIB_CFLAGS
    automakeAddFlags xfce4-mixer/Makefile.am xfce4_mixer_CFLAGS DBUS_GLIB_CFLAGS
  '';

  buildInputs = [
    dbus-glib
    gst_plugins_minimal
    gtk2
    libunique
    libxfce4ui
    libxfce4util
    xfce4-panel
    xfconf
  ];
}