summaryrefslogtreecommitdiffstats
path: root/pkgs/desktops
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2017-03-05 21:07:59 +0100
committerVladimír Čunát <vcunat@gmail.com>2017-03-05 21:07:59 +0100
commit20c2f51967271c2274d7c5255be394926afd9649 (patch)
tree70f8c7b983ef9ce993be43c00f1abcf7ade4eeb2 /pkgs/desktops
parent21c51c570e6db667dd45cd3972176bbc8f868633 (diff)
xfce4-mpc-plugin: init at 0.4.5 (#22560)
Diffstat (limited to 'pkgs/desktops')
-rw-r--r--pkgs/desktops/xfce/default.nix5
-rw-r--r--pkgs/desktops/xfce/panel-plugins/xfce4-mpc-plugin.nix25
2 files changed, 28 insertions, 2 deletions
diff --git a/pkgs/desktops/xfce/default.nix b/pkgs/desktops/xfce/default.nix
index 96e05a2fb636..abe2cc961be2 100644
--- a/pkgs/desktops/xfce/default.nix
+++ b/pkgs/desktops/xfce/default.nix
@@ -32,9 +32,9 @@ xfce_self = rec { # the lines are very long but it seems better than the even-od
thunar = callPackage ./core/thunar.nix { };
thunarx-2-dev = thunar-build; # Plugins need only the `thunarx-2` part of the package. Awaiting multiple outputs.
thunar_volman = callPackage ./core/thunar-volman.nix { }; # ToDo: probably inside Thunar now
- thunar-archive-plugin
+ thunar-archive-plugin
= callPackage ./thunar-plugins/archive { };
- thunar-dropbox-plugin
+ thunar-dropbox-plugin
= callPackage ./thunar-plugins/dropbox { };
tumbler = callPackage ./core/tumbler.nix { };
xfce4panel = callPackage ./core/xfce4-panel.nix { }; # ToDo: impure plugins from /run/current-system/sw/lib/xfce4
@@ -89,6 +89,7 @@ xfce_self = rec { # the lines are very long but it seems better than the even-od
xfce4-hardware-monitor-plugin = callPackage ./panel-plugins/xfce4-hardware-monitor-plugin.nix { };
xfce4_netload_plugin = callPackage ./panel-plugins/xfce4-netload-plugin.nix { };
xfce4_notes_plugin = callPackage ./panel-plugins/xfce4-notes-plugin.nix { };
+ xfce4_mpc_plugin = callPackage ./panel-plugins/xfce4-mpc-plugin.nix { };
xfce4-sensors-plugin = callPackage ./panel-plugins/xfce4-sensors-plugin.nix { };
xfce4_systemload_plugin = callPackage ./panel-plugins/xfce4-systemload-plugin.nix { };
xfce4_timer_plugin = callPackage ./panel-plugins/xfce4-timer-plugin.nix { };
diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-mpc-plugin.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-mpc-plugin.nix
new file mode 100644
index 000000000000..6a2f5bd50849
--- /dev/null
+++ b/pkgs/desktops/xfce/panel-plugins/xfce4-mpc-plugin.nix
@@ -0,0 +1,25 @@
+{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4panel, libxfce4ui,
+libxfcegui4, xfconf, gtk, exo }:
+
+with stdenv.lib;
+stdenv.mkDerivation rec {
+ p_name = "xfce4-mpc-plugin";
+ ver_maj = "0.4";
+ ver_min = "5";
+ name = "${p_name}-${ver_maj}.${ver_min}";
+
+ src = fetchurl {
+ url = "mirror://xfce/src/panel-plugins/${p_name}/${ver_maj}/${name}.tar.bz2";
+ sha256 = "1kvgq1pq7cykqdc3227dq0izad093ppfw3nfsrcp9i8mi6i5f7z7";
+ };
+
+ buildInputs = [ pkgconfig intltool libxfce4util libxfce4ui xfce4panel
+ libxfcegui4 xfconf gtk exo ];
+
+ meta = {
+ homepage = "http://goodies.xfce.org/projects/panel-plugins/${p_name}";
+ description = "MPD plugin for Xfce panel";
+ platforms = platforms.linux;
+ maintainers = [ maintainers.matthiasbeyer ];
+ };
+}