Merge pull request #110995 from berbiche/init-xfce4-i3-workspaces-plugin

xfce.xfce4-i3-workspaces-plugin: init at 1.4.0
This commit is contained in:
Sandro 2021-01-29 00:35:42 +01:00 committed by GitHub
commit 46815990d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 48 additions and 0 deletions

View file

@ -126,6 +126,8 @@ lib.makeScope pkgs.newScope (self: with self; {
xfce4-hardware-monitor-plugin = callPackage ./panel-plugins/xfce4-hardware-monitor-plugin.nix { };
xfce4-i3-workspaces-plugin = callPackage ./panel-plugins/xfce4-i3-workspaces-plugin.nix { };
xfce4-namebar-plugin = callPackage ./panel-plugins/xfce4-namebar-plugin.nix { };
xfce4-netload-plugin = callPackage ./panel-plugins/xfce4-netload-plugin { };

View file

@ -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 = [ maintainers.berbiche ];
};
}