2023-03-24 00:07:29 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, intltool
|
|
|
|
, pkg-config
|
2022-09-22 12:36:57 +00:00
|
|
|
, libwnck
|
|
|
|
, libxfce4ui
|
|
|
|
, xfce4-panel
|
|
|
|
, xfconf
|
2023-03-24 00:07:29 +00:00
|
|
|
, gitUpdater
|
2022-09-22 12:36:57 +00:00
|
|
|
}:
|
|
|
|
|
2023-03-24 00:07:29 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2022-09-22 12:36:57 +00:00
|
|
|
pname = "xfce4-windowck-plugin";
|
2023-03-24 00:07:29 +00:00
|
|
|
version = "0.5.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
# Use dist tarballs to avoid pulling extra deps and generating images ourselves.
|
|
|
|
url = "mirror://xfce/src/panel-plugins/xfce4-windowck-plugin/${lib.versions.majorMinor version}/xfce4-windowck-plugin-${version}.tar.bz2";
|
|
|
|
sha256 = "sha256-p4FEi3gemE072lmw2qsNGE1M7CJSMW9zcKxKmO/kgfQ=";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
intltool
|
|
|
|
pkg-config
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
2021-06-28 23:13:55 +00:00
|
|
|
libwnck
|
2020-04-24 23:36:52 +00:00
|
|
|
libxfce4ui
|
|
|
|
xfce4-panel
|
|
|
|
xfconf
|
|
|
|
];
|
|
|
|
|
2023-03-24 00:07:29 +00:00
|
|
|
passthru.updateScript = gitUpdater {
|
|
|
|
url = "https://gitlab.xfce.org/panel-plugins/xfce4-windowck-plugin";
|
|
|
|
rev-prefix = "xfce4-windowck-plugin-";
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2022-09-22 12:36:57 +00:00
|
|
|
description = "Xfce panel plugin for displaying window title and buttons";
|
2023-03-24 00:07:29 +00:00
|
|
|
homepage = "https://gitlab.xfce.org/panel-plugins/xfce4-windowck-plugin";
|
2022-09-22 12:36:57 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2023-03-24 00:07:29 +00:00
|
|
|
platforms = platforms.linux;
|
2022-07-14 12:49:19 +00:00
|
|
|
maintainers = with maintainers; [ ] ++ teams.xfce.members;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|