Merge pull request #191189 from romildo/upd.xfce4-windowck-plugin

This commit is contained in:
Sandro 2022-09-21 14:02:07 +02:00 committed by GitHub
commit 7a60d1fd15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,49 +1,37 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, intltool, python3, imagemagick, libwnck, libxfce4ui, xfce4-panel, xfconf, xfce4-dev-tools, xfce, gitUpdater }: { lib
, mkXfceDerivation
, imagemagick
, libwnck
, libxfce4ui
, python3
, xfce4-panel
, xfconf
}:
stdenv.mkDerivation rec { mkXfceDerivation {
pname = "xfce4-windowck-plugin"; category = "panel-plugins";
version = "0.4.10"; pname = "xfce4-windowck-plugin";
version = "0.5.0";
src = fetchFromGitHub { rev-prefix = "v";
owner = "invidian"; odd-unstable = false;
repo = pname; sha256 = "sha256-MhNSgI74VLdoS5yL6nfRrVrPvv7+0P5meO4zQheYFzo=";
rev = "v${version}";
sha256 = "sha256-luCQzqWX3Jl2MlBa3vi1q7z1XOhpFxE8PUxscoIyBlA=";
};
nativeBuildInputs = [
pkg-config
intltool
];
buildInputs = [ buildInputs = [
python3
imagemagick imagemagick
libwnck libwnck
libxfce4ui libxfce4ui
python3
xfce4-panel xfce4-panel
xfconf xfconf
xfce4-dev-tools
]; ];
preConfigure = '' postPatch = ''
./autogen.sh patchShebangs themes/windowck{,-dark}/{xfwm4,unity}/generator.py
patchShebangs .
''; '';
enableParallelBuilding = true;
passthru.updateScript = gitUpdater {
inherit pname version;
attrPath = "xfce.${pname}";
rev-prefix = "v";
};
meta = with lib; { meta = with lib; {
homepage = "https://goodies.xfce.org/projects/panel-plugins/xfce4-windowck-plugin"; description = "Xfce panel plugin for displaying window title and buttons";
description = "Xfce plugins which allows to put the maximized window title and buttons on the panel"; license = licenses.gpl3Plus;
license = licenses.gpl2Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ ] ++ teams.xfce.members; maintainers = with maintainers; [ ] ++ teams.xfce.members;
}; };
} }