summary refs log tree commit diff
path: root/pkgs/desktops/xfce/applications/xfce4-volumed-pulse.nix
blob: 4344d34f13f6deb06828216ee90e51ec3053c569 (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
{ stdenv, fetchurl, pkgconfig, libpulseaudio
, gtk2, libnotify
, keybinder, xfconf
}:

stdenv.mkDerivation rec {
  p_name  = "xfce4-volumed-pulse";
  ver_maj = "0.2";
  ver_min = "2";
  name = "${p_name}-${ver_maj}.${ver_min}";

  src = fetchurl {
    url = "mirror://xfce/src/apps/${p_name}/${ver_maj}/${name}.tar.bz2";
    sha256 = "0xjcs1b6ix6rwj9xgr9n89h315r3yhdm8wh5bkincd4lhz6ibhqf";
  };

  buildInputs =
    [ libpulseaudio gtk2
      keybinder xfconf libnotify
    ];

  nativeBuildInputs = [ pkgconfig ];

  meta = with stdenv.lib; {
    homepage = https://launchpad.net/xfce4-volumed-pulse;
    description = "A volume keys control daemon for the Xfce desktop environment (Xubuntu fork)";
    license = licenses.gpl3;
    platforms = platforms.linux;
    maintainers = [ maintainers.abbradar ];
  };
}