2023-04-29 16:46:19 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, pkg-config
|
|
|
|
, intltool
|
|
|
|
, xfce4-panel
|
|
|
|
, libxfce4ui
|
|
|
|
, libxfce4util
|
|
|
|
, exo
|
|
|
|
, glib
|
|
|
|
, gtk3
|
|
|
|
, gnutls
|
|
|
|
, libgcrypt
|
|
|
|
, gitUpdater
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
category = "panel-plugins";
|
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2023-04-29 16:46:19 +00:00
|
|
|
pname = "xfce4-mailwatch-plugin";
|
|
|
|
version = "1.3.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-17 00:15:33 +00:00
|
|
|
url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
|
2023-04-29 16:46:19 +00:00
|
|
|
sha256 = "sha256-BUlk6f5MpmhIZACZHOHqAdB6rHuiNfSxTUqPfZgABGo=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
intltool
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libxfce4ui
|
2023-04-29 16:46:19 +00:00
|
|
|
libxfce4util
|
2020-04-24 23:36:52 +00:00
|
|
|
xfce4-panel
|
2021-04-05 15:23:46 +00:00
|
|
|
exo
|
2023-04-29 16:46:19 +00:00
|
|
|
glib
|
|
|
|
gtk3
|
2020-04-24 23:36:52 +00:00
|
|
|
gnutls
|
|
|
|
libgcrypt
|
|
|
|
];
|
|
|
|
|
2022-10-06 18:32:54 +00:00
|
|
|
passthru.updateScript = gitUpdater {
|
|
|
|
url = "https://gitlab.xfce.org/panel-plugins/${pname}";
|
|
|
|
rev-prefix = "${pname}-";
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://docs.xfce.org/panel-plugins/xfce4-mailwatch-plugin";
|
|
|
|
description = "Mail watcher plugin for Xfce panel";
|
2021-04-05 15:23:46 +00:00
|
|
|
license = licenses.gpl2Only;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
2021-12-19 01:06:50 +00:00
|
|
|
maintainers = with maintainers; [ ] ++ teams.xfce.members;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|