diff options
Diffstat (limited to 'nixpkgs/pkgs/desktops/xfce/panel-plugins')
26 files changed, 1026 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-battery-plugin/default.nix b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-battery-plugin/default.nix new file mode 100644 index 000000000000..bfaa340f5249 --- /dev/null +++ b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-battery-plugin/default.nix @@ -0,0 +1,17 @@ +{ lib, mkXfceDerivation, gtk3, libxfce4ui, libxfce4util, xfce4-panel, xfconf }: + +mkXfceDerivation { + category = "panel-plugins"; + pname = "xfce4-battery-plugin"; + version = "1.1.4"; + rev-prefix = "xfce4-battery-plugin-"; + odd-unstable = false; + sha256 = "sha256-LwwlyWhtVM+OHR9KtE4DPyU5V/dMOjcgSjsI3o7qfk8="; + + buildInputs = [ gtk3 libxfce4ui libxfce4util xfce4-panel xfconf ]; + + meta = with lib; { + description = "Battery plugin for Xfce panel"; + maintainers = with maintainers; [ ] ++ teams.xfce.members; + }; +} diff --git a/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-clipman-plugin/default.nix b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-clipman-plugin/default.nix new file mode 100644 index 000000000000..0fd84aaba748 --- /dev/null +++ b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-clipman-plugin/default.nix @@ -0,0 +1,15 @@ +{ lib, mkXfceDerivation, libXtst, libxfce4ui, xfce4-panel, xfconf }: + +mkXfceDerivation { + category = "panel-plugins"; + pname = "xfce4-clipman-plugin"; + version = "1.6.2"; + sha256 = "sha256-RpFVJSq/DxyA5ne1h+Nr3xfL+DTzg1cTqIDVOPC/pF4="; + + buildInputs = [ libXtst libxfce4ui xfce4-panel xfconf ]; + + meta = with lib; { + description = "Clipboard manager for Xfce panel"; + maintainers = with maintainers; [ ] ++ teams.xfce.members; + }; +} diff --git a/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-cpufreq-plugin/default.nix b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-cpufreq-plugin/default.nix new file mode 100644 index 000000000000..fb070ed3652d --- /dev/null +++ b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-cpufreq-plugin/default.nix @@ -0,0 +1,15 @@ +{ lib, mkXfceDerivation, gtk3, libxfce4ui, libxfce4util, xfce4-panel, xfconf }: + +mkXfceDerivation { + category = "panel-plugins"; + pname = "xfce4-cpufreq-plugin"; + version = "1.2.7"; + sha256 = "sha256-M+BehEYcHZlnuYwBlI7F0aPxPGwExTL5I9Jf6W5ugOY="; + + buildInputs = [ gtk3 libxfce4ui libxfce4util xfce4-panel xfconf ]; + + meta = with lib; { + description = "CPU Freq load plugin for Xfce panel"; + maintainers = with maintainers; [ ] ++ teams.xfce.members; + }; +} diff --git a/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-cpugraph-plugin/default.nix b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-cpugraph-plugin/default.nix new file mode 100644 index 000000000000..33bdb052b6a9 --- /dev/null +++ b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-cpugraph-plugin/default.nix @@ -0,0 +1,57 @@ +{ lib +, stdenv +, fetchurl +, pkg-config +, intltool +, glib +, exo +, libXtst +, xorgproto +, libxfce4util +, xfce4-panel +, libxfce4ui +, xfconf +, gtk3 +, hicolor-icon-theme +, xfce +}: + +let + category = "panel-plugins"; +in stdenv.mkDerivation rec { + pname = "xfce4-cpugraph-plugin"; + version = "1.2.6"; + + src = fetchurl { + url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; + sha256 = "sha256-dzJG9XwYJKhUaNQRnBeusHFw7R66zo+kBsf7z1tHr5k="; + }; + + nativeBuildInputs = [ + pkg-config + intltool + ]; + + buildInputs = [ + glib + exo + libXtst + xorgproto + libxfce4util + libxfce4ui + xfce4-panel + xfconf + gtk3 + hicolor-icon-theme + ]; + + passthru.updateScript = xfce.archiveUpdater { inherit category pname version; }; + + meta = with lib; { + homepage = "https://docs.xfce.org/panel-plugins/xfce4-cpugraph-plugin"; + description = "CPU graph show for Xfce panel"; + license = licenses.gpl2Plus; + platforms = platforms.linux; + maintainers = with maintainers; [ ] ++ teams.xfce.members; + }; +} diff --git a/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-datetime-plugin/default.nix b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-datetime-plugin/default.nix new file mode 100644 index 000000000000..70b3eca4137a --- /dev/null +++ b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-datetime-plugin/default.nix @@ -0,0 +1,31 @@ +{ mkXfceDerivation +, lib +, intltool +, libxfce4ui +, xfce4-panel +, gettext +}: + +mkXfceDerivation { + category = "panel-plugins"; + pname = "xfce4-datetime-plugin"; + version = "0.8.1"; + + rev-prefix = "xfce4-datetime-plugin-"; + sha256 = "sha256-qmZit7cCGnVTzdzPTiAiruBWlMLWzZEXJtFqAesaARo="; + + nativeBuildInputs = [ + gettext + intltool + ]; + + buildInputs = [ + libxfce4ui + xfce4-panel + ]; + + meta = with lib; { + description = "Shows the date and time in the panel, and a calendar appears when you left-click on it"; + maintainers = with maintainers; [ ] ++ teams.xfce.members; + }; +} diff --git a/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-dockbarx-plugin/default.nix b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-dockbarx-plugin/default.nix new file mode 100644 index 000000000000..97c564a40c63 --- /dev/null +++ b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-dockbarx-plugin/default.nix @@ -0,0 +1,69 @@ +{ lib +, stdenv +, fetchFromGitHub +, bash +, dockbarx +, gobject-introspection +, keybinder3 +, pkg-config +, python3Packages +, vala +, wafHook +, wrapGAppsHook +, xfce +}: + +stdenv.mkDerivation rec { + pname = "xfce4-dockbarx-plugin"; + version = "${ver}-${rev}"; + ver = "0.6"; + rev = "5213876151f1836f044e9902a22d1e682144c1e0"; + + src = fetchFromGitHub { + owner = "xuzhen"; + repo = "xfce4-dockbarx-plugin"; + rev = rev; + sha256 = "sha256-VqtGcBRjvpCO9prVHOv6Gt1rAZtcAgkQkVCoR6ykC2k="; + }; + + pythonPath = [ + dockbarx + python3Packages.pygobject3 + ]; + + nativeBuildInputs = [ + gobject-introspection + pkg-config + python3Packages.wrapPython + vala + wafHook + wrapGAppsHook + ]; + + buildInputs = [ + keybinder3 + python3Packages.python + xfce.xfce4-panel + xfce.xfconf + ] + ++ pythonPath; + + postPatch = '' + substituteInPlace wscript --replace /usr/share/ "\''${PREFIX}/share/" + substituteInPlace src/dockbarx.vala --replace /usr/share/ $out/share/ + substituteInPlace src/dockbarx.vala --replace '/usr/bin/env python3' ${bash}/bin/bash + ''; + + postFixup = '' + makeWrapperArgs+=("''${gappsWrapperArgs[@]}") + wrapPythonProgramsIn "$out/share/xfce4/panel/plugins" "$out $pythonPath" + ''; + + meta = with lib; { + homepage = "https://github.com/xuzhen/xfce4-dockbarx-plugin"; + description = "Plugins to embed DockbarX into xfce4-panel"; + license = licenses.mit; + platforms = platforms.linux; + maintainers = with maintainers; [ ] ++ teams.xfce.members; + }; +} diff --git a/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-embed-plugin/default.nix b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-embed-plugin/default.nix new file mode 100644 index 000000000000..cc4ce861e724 --- /dev/null +++ b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-embed-plugin/default.nix @@ -0,0 +1,46 @@ +{ lib +, stdenv +, fetchurl +, pkg-config +, intltool +, libxfce4util +, xfce4-panel +, libxfce4ui +, gtk2 +, xfce +}: + +let + category = "panel-plugins"; +in stdenv.mkDerivation rec { + pname = "xfce4-embed-plugin"; + version = "1.6.0"; + + src = fetchurl { + url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; + sha256 = "sha256-x2ffY2DoGUsyvCSCPdAAl17boMr+Ulwj14VAKTWe4ig="; + }; + + nativeBuildInputs = [ + pkg-config + intltool + ]; + + buildInputs = [ + libxfce4util + libxfce4ui + xfce4-panel + gtk2 + ]; + + passthru.updateScript = xfce.archiveUpdater { inherit category pname version; }; + + meta = with lib;{ + homepage = "https://docs.xfce.org/panel-plugins/xfce4-embed-plugin"; + description = "Embed arbitrary app windows on Xfce panel"; + license = licenses.gpl2Plus; + platforms = platforms.linux; + broken = true; # unmaintained plugin; no longer compatible with xfce 4.16 + maintainers = with maintainers; [ ] ++ teams.xfce.members; + }; +} diff --git a/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-eyes-plugin/default.nix b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-eyes-plugin/default.nix new file mode 100644 index 000000000000..08434ad25227 --- /dev/null +++ b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-eyes-plugin/default.nix @@ -0,0 +1,47 @@ +{ lib +, stdenv +, fetchurl +, pkg-config +, intltool +, libxfce4util +, xfce4-panel +, libxfce4ui +, xfconf +, gtk3 +, xfce +}: + +let + category = "panel-plugins"; +in stdenv.mkDerivation rec { + pname = "xfce4-eyes-plugin"; + version = "4.5.1"; + + src = fetchurl { + url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; + sha256 = "sha256-TbeAF45Sk5HVPaGA5JOGkE5ppaM7O9UYWDXQp+b/WsU="; + }; + + nativeBuildInputs = [ + pkg-config + intltool + ]; + + buildInputs = [ + libxfce4util + libxfce4ui + xfce4-panel + xfconf + gtk3 + ]; + + passthru.updateScript = xfce.archiveUpdater { inherit category pname version; }; + + meta = with lib; { + homepage = "https://docs.xfce.org/panel-plugins/xfce4-eyes-plugin"; + description = "Rolling eyes (following mouse pointer) plugin for the Xfce panel"; + license = licenses.gpl2Plus; + platforms = platforms.linux; + maintainers = with maintainers; [ ] ++ teams.xfce.members; + }; +} diff --git a/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-fsguard-plugin/default.nix b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-fsguard-plugin/default.nix new file mode 100644 index 000000000000..81498aea96f4 --- /dev/null +++ b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-fsguard-plugin/default.nix @@ -0,0 +1,47 @@ +{ lib +, stdenv +, fetchurl +, pkg-config +, intltool +, libxfce4util +, xfce4-panel +, libxfce4ui +, xfconf +, gtk3 +, xfce +}: + +let + category = "panel-plugins"; +in stdenv.mkDerivation rec { + pname = "xfce4-fsguard-plugin"; + version = "1.1.2"; + + src = fetchurl { + url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; + sha256 = "sha256-Z9jmohmnEXxZaTrbxZw5puujHj8YpUmRie9O8otVQQU="; + }; + + nativeBuildInputs = [ + pkg-config + intltool + ]; + + buildInputs = [ + libxfce4util + libxfce4ui + xfce4-panel + xfconf + gtk3 + ]; + + passthru.updateScript = xfce.archiveUpdater { inherit category pname version; }; + + meta = with lib; { + homepage = "https://docs.xfce.org/panel-plugins/xfce4-fsguard-plugin"; + description = "Filesystem usage monitor plugin for the Xfce panel"; + license = licenses.bsd2; + platforms = platforms.linux; + maintainers = with maintainers; [ ] ++ teams.xfce.members; + }; +} diff --git a/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-genmon-plugin/default.nix b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-genmon-plugin/default.nix new file mode 100644 index 000000000000..1b794ff2b836 --- /dev/null +++ b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-genmon-plugin/default.nix @@ -0,0 +1,45 @@ +{ lib +, stdenv +, fetchurl +, pkg-config +, intltool +, libxfce4util +, xfce4-panel +, libxfce4ui +, gtk3 +, xfce +}: + +let + category = "panel-plugins"; +in stdenv.mkDerivation rec { + pname = "xfce4-genmon-plugin"; + version = "4.1.1"; + + src = fetchurl { + url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; + sha256 = "sha256-shGf0P8Z+ik7l+yXsN6OJBeZ4IuGIYUVFnxWi9m1ATU="; + }; + + nativeBuildInputs = [ + pkg-config + intltool + ]; + + buildInputs = [ + libxfce4util + libxfce4ui + xfce4-panel + gtk3 + ]; + + passthru.updateScript = xfce.archiveUpdater { inherit category pname version; }; + + meta = with lib; { + homepage = "https://docs.xfce.org/panel-plugins/xfce4-genmon-plugin"; + description = "Generic monitor plugin for the Xfce panel"; + license = licenses.gpl2Plus; + platforms = platforms.linux; + maintainers = with maintainers; [ ] ++ teams.xfce.members; + }; +} diff --git a/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-hardware-monitor-plugin/default.nix b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-hardware-monitor-plugin/default.nix new file mode 100644 index 000000000000..3f1f9c25c509 --- /dev/null +++ b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-hardware-monitor-plugin/default.nix @@ -0,0 +1,41 @@ +{ lib, stdenv, fetchurl, pkg-config, intltool, autoreconfHook, gnome2, gtkmm2, + libgtop, libxfce4ui, libxfce4util, xfce4-panel, lm_sensors, xfce +}: + +stdenv.mkDerivation rec { + pname = "xfce4-hardware-monitor-plugin"; + version = "1.6.0"; + + src = fetchurl { + url = "https://git.xfce.org/archive/${pname}/snapshot/${pname}-${version}.tar.gz"; + sha256 = "sha256-aLpNY+qUhmobGb8OkbjtJxQMDO9xSlvurVjNLgOpZ4Y="; + }; + + nativeBuildInputs = [ + autoreconfHook + pkg-config + intltool + ]; + + buildInputs = [ + gtkmm2 + gnome2.libgnomecanvas + gnome2.libgnomecanvasmm + libgtop + libxfce4ui + libxfce4util + xfce4-panel + lm_sensors + ]; + + enableParallelBuilding = true; + + meta = with lib; { + homepage = "https://goodies.xfce.org/projects/panel-plugins/xfce4-hardware-monitor-plugin"; + description = "Hardware monitor plugin for the XFCE4 panel"; + license = licenses.gpl3Only; + platforms = platforms.unix; + broken = true; # unmaintained plugin; no longer compatible with xfce 4.16 + maintainers = with maintainers; [ ] ++ teams.xfce.members; + }; +} diff --git a/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-i3-workspaces-plugin/default.nix b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-i3-workspaces-plugin/default.nix new file mode 100644 index 000000000000..a65444f22786 --- /dev/null +++ b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-i3-workspaces-plugin/default.nix @@ -0,0 +1,46 @@ +{ lib, stdenv, fetchFromGitHub, pkg-config, intltool, gtk3 +, libxfce4ui, libxfce4util, xfconf, xfce4-dev-tools, xfce4-panel +, i3ipc-glib +}: + +stdenv.mkDerivation rec { + pname = "xfce4-i3-workspaces-plugin"; + version = "1.4.0"; + + src = fetchFromGitHub { + owner = "denesb"; + repo = "xfce4-i3-workspaces-plugin"; + rev = version; + sha256 = "sha256-+tjxMr0UbE3BLdxBwNr2mZqKSQOOtw69FmN4rk4loyA="; + }; + + nativeBuildInputs = [ + pkg-config + intltool + ]; + + buildInputs = [ + gtk3 + xfconf + libxfce4ui + libxfce4util + xfce4-dev-tools + xfce4-panel + i3ipc-glib + ]; + + preConfigure = '' + ./autogen.sh + patchShebangs . + ''; + + enableParallelBuilding = true; + + meta = with lib; { + homepage = "https://github.com/denesb/xfce4-i3-workspaces-plugin"; + description = "Workspace switcher plugin for xfce4-panel which can be used for the i3 window manager"; + license = licenses.gpl3Plus; + platforms = platforms.unix; + maintainers = with maintainers; [ berbiche ] ++ teams.xfce.members; + }; +} diff --git a/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-mailwatch-plugin/default.nix b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-mailwatch-plugin/default.nix new file mode 100644 index 000000000000..fdd3af5fe402 --- /dev/null +++ b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-mailwatch-plugin/default.nix @@ -0,0 +1,39 @@ +{ lib, stdenv, fetchurl, pkg-config, intltool, xfce4-panel, libxfce4ui, + exo, gnutls, libgcrypt, xfce }: + +let + category = "panel-plugins"; +in + +stdenv.mkDerivation rec { + pname = "xfce4-mailwatch-plugin"; + version = "1.3.0"; + + src = fetchurl { + url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; + sha256 = "sha256-IPkevv0ogLJ/Qh93MRWzdA9n3iv2D+rOOEG/0aCcvi4="; + }; + + nativeBuildInputs = [ + intltool + pkg-config + ]; + + buildInputs = [ + libxfce4ui + xfce4-panel + exo + gnutls + libgcrypt + ]; + + passthru.updateScript = xfce.archiveUpdater { inherit category pname version; }; + + meta = with lib; { + homepage = "https://docs.xfce.org/panel-plugins/xfce4-mailwatch-plugin"; + description = "Mail watcher plugin for Xfce panel"; + license = licenses.gpl2Only; + platforms = platforms.linux; + maintainers = with maintainers; [ ] ++ teams.xfce.members; + }; +} diff --git a/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-mpc-plugin/default.nix b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-mpc-plugin/default.nix new file mode 100644 index 000000000000..566475869345 --- /dev/null +++ b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-mpc-plugin/default.nix @@ -0,0 +1,39 @@ +{ lib, stdenv, fetchurl, pkg-config, intltool, libxfce4util, xfce4-panel, + libxfce4ui, gtk3, exo, xfce }: + +let + category = "panel-plugins"; +in + +stdenv.mkDerivation rec { + pname = "xfce4-mpc-plugin"; + version = "0.5.2"; + + src = fetchurl { + url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; + sha256 = "sha256-7v54t7a5UxKzpSgUt/Yy3JKXDBs+lTXeYWMVdJv2d2A="; + }; + + nativeBuildInputs = [ + pkg-config + intltool + ]; + + buildInputs = [ + libxfce4util + libxfce4ui + xfce4-panel + gtk3 + exo + ]; + + passthru.updateScript = xfce.archiveUpdater { inherit category pname version; }; + + meta = with lib; { + homepage = "https://docs.xfce.org/panel-plugins/xfce4-mpc-plugin"; + description = "MPD plugin for Xfce panel"; + platforms = platforms.linux; + license = licenses.bsd2; + maintainers = with maintainers; [ ] ++ teams.xfce.members; + }; +} diff --git a/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-namebar-plugin/default.nix b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-namebar-plugin/default.nix new file mode 100644 index 000000000000..e7f20a0ec7a8 --- /dev/null +++ b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-namebar-plugin/default.nix @@ -0,0 +1,45 @@ +{ lib, stdenv, pkg-config, fetchFromGitHub, python3, vala +, gtk3, libwnck, libxfce4util, xfce4-panel, wafHook, xfce +, gitUpdater +}: + +stdenv.mkDerivation rec { + pname = "xfce4-namebar-plugin"; + version = "1.0.0"; + + src = fetchFromGitHub { + owner = "HugLifeTiZ"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-aKrJzf9rwCyXAJsRIXdBzmJBASuXD5I5kZrp+atx4FA="; + }; + + nativeBuildInputs = [ pkg-config vala wafHook python3 ]; + buildInputs = [ gtk3 libwnck libxfce4util xfce4-panel ]; + + postPatch = '' + substituteInPlace src/namebar.vala --replace 'var dirs = Environment.get_system_data_dirs()' "string[] dirs = { \"$out/share\" }" + substituteInPlace src/preferences.vala --replace 'var dir_strings = Environment.get_system_data_dirs()' "string[] dir_strings = { \"$out/share\" }" + ''; + + passthru.updateScript = gitUpdater { + inherit pname version; + attrPath = "xfce.${pname}"; + rev-prefix = "v"; + }; + + meta = with lib; { + homepage = "https://github.com/HugLifeTiZ/xfce4-namebar-plugin"; + description = "Plugin which integrates titlebar and window controls into the xfce4-panel"; + license = licenses.mit; + platforms = platforms.linux; + maintainers = with maintainers; [ volth ] ++ teams.xfce.members; + # Does not build with vala 0.48 or later + # libxfce4panel-2.0.vapi:92.3-92.41: error: overriding method `Xfce.PanelPlugin.remote_event' is incompatible + # with base method `bool Xfce.PanelPluginProvider.remote_event (string, GLib.Value, uint)': too few parameters. + # public virtual signal bool remote_event (string name, GLib.Value value); + # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + # Upstream has no activity since 20 May 2020 + broken = true; + }; +} diff --git a/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-netload-plugin/default.nix b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-netload-plugin/default.nix new file mode 100644 index 000000000000..2720520a047b --- /dev/null +++ b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-netload-plugin/default.nix @@ -0,0 +1,17 @@ +{ lib, mkXfceDerivation, gtk3, libxfce4ui, libxfce4util, xfce4-panel, xfconf }: + +mkXfceDerivation { + category = "panel-plugins"; + pname = "xfce4-netload-plugin"; + version = "1.4.0"; + rev-prefix = "xfce4-netload-plugin-"; + odd-unstable = false; + sha256 = "sha256-HasaMymMCPidYkaAUK4gvD+Ka7NJdFOTeq43gJ1G3jo="; + + buildInputs = [ gtk3 libxfce4ui libxfce4util xfce4-panel xfconf ]; + + meta = with lib; { + description = "Internet load speed plugin for Xfce4 panel"; + maintainers = with maintainers; [ ] ++ teams.xfce.members; + }; +} diff --git a/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-notes-plugin/default.nix b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-notes-plugin/default.nix new file mode 100644 index 000000000000..6cb2fcc66c02 --- /dev/null +++ b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-notes-plugin/default.nix @@ -0,0 +1,43 @@ +{ lib +, stdenv +, fetchurl +, pkg-config +, intltool +, xfce4-panel +, libxfce4ui +, xfconf +, xfce +}: + +let + category = "panel-plugins"; +in stdenv.mkDerivation rec { + pname = "xfce4-notes-plugin"; + version = "1.9.0"; + + src = fetchurl { + url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; + sha256 = "sha256-E/kJyUi2Oflt5kz3k+t0yxd5WJIB05M+/yFO6PNasIg="; + }; + + nativeBuildInputs = [ + pkg-config + intltool + ]; + + buildInputs = [ + libxfce4ui + xfce4-panel + xfconf + ]; + + passthru.updateScript = xfce.archiveUpdater { inherit category pname version; }; + + meta = with lib; { + homepage = "https://docs.xfce.org/panel-plugins/xfce4-notes-plugin"; + description = "Sticky notes plugin for Xfce panel"; + license = licenses.gpl2Plus; + platforms = platforms.linux; + maintainers = with maintainers; [ ] ++ teams.xfce.members; + }; +} diff --git a/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-pulseaudio-plugin/default.nix b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-pulseaudio-plugin/default.nix new file mode 100644 index 000000000000..5915a43372d9 --- /dev/null +++ b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-pulseaudio-plugin/default.nix @@ -0,0 +1,51 @@ +{ lib +, mkXfceDerivation +, automakeAddFlags +, dbus-glib +, dbus +, exo +, gtk3 +, libpulseaudio +, libnotify +, libxfce4ui +, libxfce4util +, xfce4-panel +, xfconf +, keybinder3 +, glib +}: + +mkXfceDerivation { + category = "panel-plugins"; + pname = "xfce4-pulseaudio-plugin"; + version = "0.4.3"; + sha256 = "sha256-+E1pyDP140xUbYPZXhdiEjdU0t8Un+IjV7Ek+hAX3OU="; + + nativeBuildInputs = [ + automakeAddFlags + ]; + + NIX_CFLAGS_COMPILE = "-I${dbus-glib.dev}/include/dbus-1.0 -I${dbus.dev}/include/dbus-1.0"; + + postPatch = '' + substituteInPlace configure.ac.in --replace gio-2.0 gio-unix-2.0 + ''; + + buildInputs = [ + exo + glib + gtk3 + keybinder3 + libnotify + libpulseaudio + libxfce4ui + libxfce4util + xfce4-panel + xfconf + ]; + + meta = with lib; { + description = "Adjust the audio volume of the PulseAudio sound system"; + maintainers = with maintainers; [ ] ++ teams.xfce.members; + }; +} diff --git a/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-sensors-plugin/default.nix b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-sensors-plugin/default.nix new file mode 100644 index 000000000000..22b4d8c4f40f --- /dev/null +++ b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-sensors-plugin/default.nix @@ -0,0 +1,50 @@ +{ lib, stdenv, fetchurl, pkg-config, intltool, gtk3, libxfce4ui, + libxfce4util, xfce4-panel, libnotify, lm_sensors, hddtemp, netcat-gnu, xfce +}: + +let + category = "panel-plugins"; +in + +stdenv.mkDerivation rec { + pname = "xfce4-sensors-plugin"; + version = "1.4.3"; + + src = fetchurl { + url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; + sha256 = "sha256-FxwCNfcMZfD/7lh+lg2dp5soSFXfIhMCOerCYnLsBsk="; + }; + + nativeBuildInputs = [ + pkg-config + intltool + ]; + + buildInputs = [ + gtk3 + libxfce4ui + libxfce4util + xfce4-panel + libnotify + lm_sensors + hddtemp + netcat-gnu + ]; + + enableParallelBuilding = true; + + configureFlags = [ + "--with-pathhddtemp=${hddtemp}/bin/hddtemp" + "--with-pathnetcat=${netcat-gnu}/bin/netcat" + ]; + + passthru.updateScript = xfce.archiveUpdater { inherit category pname version; }; + + meta = with lib; { + homepage = "https://docs.xfce.org/panel-plugins/xfce4-sensors-plugin"; + description = "A panel plug-in for different sensors using acpi, lm_sensors and hddtemp"; + license = licenses.gpl2Plus; + platforms = platforms.unix; + maintainers = with maintainers; [ ] ++ teams.xfce.members; + }; +} diff --git a/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-systemload-plugin/default.nix b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-systemload-plugin/default.nix new file mode 100644 index 000000000000..d264181bd48f --- /dev/null +++ b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-systemload-plugin/default.nix @@ -0,0 +1,43 @@ +{ lib +, stdenv +, fetchurl +, pkg-config +, intltool +, xfce4-panel +, libxfce4ui +, xfconf +, xfce +}: + +let + category = "panel-plugins"; +in stdenv.mkDerivation rec { + pname = "xfce4-systemload-plugin"; + version = "1.3.1"; + + src = fetchurl { + url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; + sha256 = "sha256-VtEAeAHVLXwrWhO7VHRfbX8G/aKLSc6TYUVjMGiBdlI="; + }; + + nativeBuildInputs = [ + pkg-config + intltool + ]; + + buildInputs = [ + libxfce4ui + xfce4-panel + xfconf + ]; + + passthru.updateScript = xfce.archiveUpdater { inherit category pname version; }; + + meta = with lib; { + homepage = "https://docs.xfce.org/panel-plugins/xfce4-systemload-plugin"; + description = "System load plugin for Xfce panel"; + license = licenses.bsd2; + platforms = platforms.linux; + maintainers = with maintainers; [ ] ++ teams.xfce.members; + }; +} diff --git a/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-timer-plugin/default.nix b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-timer-plugin/default.nix new file mode 100644 index 000000000000..c3cb16dfa830 --- /dev/null +++ b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-timer-plugin/default.nix @@ -0,0 +1,40 @@ +{ lib, stdenv, fetchurl, pkg-config, intltool, libxfce4util, xfce4-panel, libxfce4ui, gtk3, hicolor-icon-theme, xfce }: + +let + category = "panel-plugins"; +in + +stdenv.mkDerivation rec { + pname = "xfce4-timer-plugin"; + version = "1.7.1"; + + src = fetchurl { + url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; + sha256 = "sha256-S1LSkRsZSelFlxvmUzFV7mupnHcHjqx/1DsPKuyoJOM="; + }; + + nativeBuildInputs = [ + pkg-config + intltool + ]; + + buildInputs = [ + libxfce4util + libxfce4ui + xfce4-panel + gtk3 + hicolor-icon-theme + ]; + + hardeningDisable = [ "format" ]; + + passthru.updateScript = xfce.archiveUpdater { inherit category pname version; }; + + meta = with lib; { + homepage = "https://docs.xfce.org/panel-plugins/xfce4-timer-plugin"; + description = "Simple countdown and alarm plugin for the Xfce panel"; + platforms = platforms.linux; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ ] ++ teams.xfce.members; + }; +} diff --git a/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-verve-plugin/default.nix b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-verve-plugin/default.nix new file mode 100644 index 000000000000..e0d2db11d6f5 --- /dev/null +++ b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-verve-plugin/default.nix @@ -0,0 +1,25 @@ +{ lib +, mkXfceDerivation +, gtk3 +, libxfce4ui +, pcre +, libxfce4util +, xfce4-panel +}: + +mkXfceDerivation { + category = "panel-plugins"; + pname = "xfce4-verve-plugin"; + version = "2.0.1"; + rev-prefix = ""; + sha256 = "sha256-YwUOSTZMoHsWWmi/ajQv/fX8a0IJoc3re3laVEmnX/M="; + + buildInputs = [ gtk3 libxfce4ui pcre libxfce4util xfce4-panel ]; + + hardeningDisable = [ "format" ]; + + meta = with lib; { + description = "A command-line plugin"; + maintainers = with maintainers; [ ] ++ teams.xfce.members; + }; +} diff --git a/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-weather-plugin/default.nix b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-weather-plugin/default.nix new file mode 100644 index 000000000000..5ceda9cb8bd3 --- /dev/null +++ b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-weather-plugin/default.nix @@ -0,0 +1,43 @@ +{ lib, stdenv, fetchurl, pkg-config, intltool, libxml2, libsoup, upower, + libxfce4ui, xfce4-panel, xfconf, hicolor-icon-theme, xfce }: + +let + category = "panel-plugins"; +in + +stdenv.mkDerivation rec { + pname = "xfce4-weather-plugin"; + version = "0.11.0"; + + src = fetchurl { + url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; + sha256 = "sha256-4yQuqVHVG8D97R0CpPH2Yr7Bah+xDIVfcb2mVBoRU/w="; + }; + + nativeBuildInputs = [ + pkg-config + intltool + ]; + + buildInputs = [ + libxml2 + libsoup + upower + libxfce4ui + xfce4-panel + xfconf + hicolor-icon-theme + ]; + + enableParallelBuilding = true; + + passthru.updateScript = xfce.archiveUpdater { inherit category pname version; }; + + meta = with lib; { + homepage = "https://docs.xfce.org/panel-plugins/xfce4-weather-plugin"; + description = "Weather plugin for the Xfce desktop environment"; + license = licenses.gpl2Plus; + platforms = platforms.unix; + maintainers = with maintainers; [ ] ++ teams.xfce.members; + }; +} diff --git a/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-whiskermenu-plugin/default.nix b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-whiskermenu-plugin/default.nix new file mode 100644 index 000000000000..0dc3d3a81aa6 --- /dev/null +++ b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-whiskermenu-plugin/default.nix @@ -0,0 +1,29 @@ +{ lib, mkXfceDerivation, gettext, gtk3, glib, cmake, exo, garcon, libxfce4ui, libxfce4util, xfce4-panel, xfconf }: + +mkXfceDerivation { + category = "panel-plugins"; + pname = "xfce4-whiskermenu-plugin"; + version = "2.7.1"; + rev-prefix = "v"; + odd-unstable = false; + sha256 = "sha256-aN8PwH5YIbjiyS5tTcU2AU4LAYC2tBStDxhCXi/dvkQ="; + + nativeBuildInputs = [ cmake ]; + + buildInputs = [ gettext exo garcon gtk3 glib libxfce4ui libxfce4util xfce4-panel xfconf ]; + + postPatch = '' + substituteInPlace panel-plugin/xfce4-popup-whiskermenu.in \ + --replace gettext ${gettext}/bin/gettext + ''; + + postInstall = '' + substituteInPlace $out/bin/xfce4-popup-whiskermenu \ + --replace $out/bin/xfce4-panel ${xfce4-panel.out}/bin/xfce4-panel + ''; + + meta = with lib; { + description = "Alternate application launcher for Xfce"; + maintainers = with maintainers; [ ] ++ teams.xfce.members; + }; +} diff --git a/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-windowck-plugin/default.nix b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-windowck-plugin/default.nix new file mode 100644 index 000000000000..5e5e6c8aa694 --- /dev/null +++ b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-windowck-plugin/default.nix @@ -0,0 +1,49 @@ +{ lib, stdenv, fetchFromGitHub, pkg-config, intltool, python3, imagemagick, libwnck, libxfce4ui, xfce4-panel, xfconf, xfce4-dev-tools, xfce, gitUpdater }: + +stdenv.mkDerivation rec { + pname = "xfce4-windowck-plugin"; + version = "0.4.10"; + + src = fetchFromGitHub { + owner = "invidian"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-luCQzqWX3Jl2MlBa3vi1q7z1XOhpFxE8PUxscoIyBlA="; + }; + + nativeBuildInputs = [ + pkg-config + intltool + ]; + + buildInputs = [ + python3 + imagemagick + libwnck + libxfce4ui + xfce4-panel + xfconf + xfce4-dev-tools + ]; + + preConfigure = '' + ./autogen.sh + patchShebangs . + ''; + + enableParallelBuilding = true; + + passthru.updateScript = gitUpdater { + inherit pname version; + attrPath = "xfce.${pname}"; + rev-prefix = "v"; + }; + + meta = with lib; { + homepage = "https://goodies.xfce.org/projects/panel-plugins/xfce4-windowck-plugin"; + description = "Xfce plugins which allows to put the maximized window title and buttons on the panel"; + license = licenses.gpl2Plus; + platforms = platforms.unix; + maintainers = with maintainers; [ volth ] ++ teams.xfce.members; + }; +} diff --git a/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-xkb-plugin/default.nix b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-xkb-plugin/default.nix new file mode 100644 index 000000000000..97332cf36e98 --- /dev/null +++ b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-xkb-plugin/default.nix @@ -0,0 +1,37 @@ +{ lib +, mkXfceDerivation +, gtk3 +, librsvg +, libwnck +, libxklavier +, garcon +, libxfce4ui +, libxfce4util +, xfce4-panel +, xfconf +}: + +mkXfceDerivation { + category = "panel-plugins"; + pname = "xfce4-xkb-plugin"; + version = "0.8.2"; + rev-prefix = ""; + sha256 = "sha256-xmCoNMxykeaThYEJo6BcbraFo9CruFZL6YPjovzb6hg="; + + buildInputs = [ + garcon + gtk3 + librsvg + libxfce4ui + libxfce4util + libxklavier + libwnck + xfce4-panel + xfconf + ]; + + meta = with lib; { + description = "Allows you to setup and use multiple keyboard layouts"; + maintainers = with maintainers; [ ] ++ teams.xfce.members; + }; +} |