about summary refs log tree commit diff
path: root/nixpkgs/pkgs/desktops/xfce/applications/xfce4-volumed-pulse/default.nix
blob: 3820cae101a8d199e94e9195eb5b4612127ef474 (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
{ lib, mkXfceDerivation, gtk3, libnotify, libpulseaudio, keybinder3, xfconf }:

mkXfceDerivation {
  category = "apps";
  pname = "xfce4-volumed-pulse";
  version = "0.2.3";

  sha256 = "sha256-EgmTk19p9OBmz3rWQB0LoPhhoDm4u1V6/vvgitOzUuc=";

  # https://gitlab.xfce.org/apps/xfce4-volumed-pulse/-/merge_requests/3
  postPatch = ''
    substituteInPlace configure.ac.in \
      --replace "2.16" "2.26"
  '';

  buildInputs = [ gtk3 libnotify libpulseaudio keybinder3 xfconf ];

  meta = with lib; {
    description = "A volume keys control daemon for Xfce using pulseaudio";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ abbradar ] ++ teams.xfce.members;
  };
}