tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
xfce4-pulseaudio-plugin: init at 0.2.3
Demin Dmitriy
10 years ago
1736cedc
b0302367
+37
-3
2 changed files
expand all
collapse all
unified
split
pkgs
desktops
xfce
default.nix
panel-plugins
xfce4-pulseaudio-plugin.nix
+1
-3
pkgs/desktops/xfce/default.nix
···
79
79
xfce4_eyes_plugin = callPackage ./panel-plugins/xfce4-eyes-plugin.nix { };
80
80
xfce4_fsguard_plugin = callPackage ./panel-plugins/xfce4-fsguard-plugin.nix { };
81
81
xfce4_genmon_plugin = callPackage ./panel-plugins/xfce4-genmon-plugin.nix { };
82
82
-
83
82
xfce4_netload_plugin = callPackage ./panel-plugins/xfce4-netload-plugin.nix { };
84
83
xfce4_notes_plugin = callPackage ./panel-plugins/xfce4-notes-plugin.nix { };
85
84
xfce4_systemload_plugin = callPackage ./panel-plugins/xfce4-systemload-plugin.nix { };
86
85
xfce4_verve_plugin = callPackage ./panel-plugins/xfce4-verve-plugin.nix { };
87
86
xfce4_xkb_plugin = callPackage ./panel-plugins/xfce4-xkb-plugin.nix { };
88
88
-
89
87
xfce4_whiskermenu_plugin = callPackage ./panel-plugins/xfce4-whiskermenu-plugin.nix { };
90
90
-
88
88
+
xfce4_pulseaudio_plugin = callPackage ./panel-plugins/xfce4-pulseaudio-plugin.nix { };
91
89
92
90
}; # xfce_self
93
91
+36
pkgs/desktops/xfce/panel-plugins/xfce4-pulseaudio-plugin.nix
···
1
1
+
{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4panel_gtk3, xfconf
2
2
+
, gtk3, libpulseaudio
3
3
+
, withKeybinder ? true, keybinder3
4
4
+
, withLibnotify ? true, libnotify
5
5
+
}:
6
6
+
7
7
+
assert withKeybinder -> keybinder3 != null;
8
8
+
assert withLibnotify -> libnotify != null;
9
9
+
10
10
+
with stdenv.lib;
11
11
+
12
12
+
stdenv.mkDerivation rec {
13
13
+
p_name = "xfce4-pulseaudio-plugin";
14
14
+
ver_maj = "0.2";
15
15
+
ver_min = "3";
16
16
+
17
17
+
src = fetchurl {
18
18
+
url = "mirror://xfce/src/panel-plugins/${p_name}/${ver_maj}/${name}.tar.bz2";
19
19
+
sha256 = "e82836bc8cf7d905b4e60d43dc630ba8e32dea785989700c71d4aeee9f583b33";
20
20
+
};
21
21
+
name = "${p_name}-${ver_maj}.${ver_min}";
22
22
+
23
23
+
nativeBuildInputs = [ pkgconfig intltool ];
24
24
+
buildInputs = [ libxfce4util xfce4panel_gtk3 xfconf gtk3 libpulseaudio ]
25
25
+
++ optional withKeybinder keybinder3
26
26
+
++ optional withLibnotify libnotify;
27
27
+
28
28
+
preFixup = "rm $out/share/icons/hicolor/icon-theme.cache";
29
29
+
30
30
+
meta = {
31
31
+
homepage = "http://goodies.xfce.org/projects/panel-plugins/${p_name}";
32
32
+
description = "Adjust the audio volume of the PulseAudio sound system";
33
33
+
platforms = platforms.linux;
34
34
+
maintainers = [ ];
35
35
+
};
36
36
+
}