2020-12-29 00:17:55 +03:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, intltool, xfce4-panel, libxfce4ui,
|
2022-09-28 00:46:24 +03:00
|
|
|
exo, gnutls, libgcrypt, gitUpdater }:
|
2020-04-14 00:12:16 +03:00
|
|
|
|
|
|
|
let
|
|
|
|
category = "panel-plugins";
|
|
|
|
in
|
2017-02-08 20:31:32 +03:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-04-14 00:12:16 +03:00
|
|
|
pname = "xfce4-mailwatch-plugin";
|
2020-12-29 00:17:55 +03:00
|
|
|
version = "1.3.0";
|
2017-02-08 20:31:32 +03:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-15 16:21:58 +03:00
|
|
|
url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
|
2021-06-17 03:20:52 +03:00
|
|
|
sha256 = "sha256-IPkevv0ogLJ/Qh93MRWzdA9n3iv2D+rOOEG/0aCcvi4=";
|
2017-02-08 20:31:32 +03:00
|
|
|
};
|
|
|
|
|
2020-04-16 07:01:34 +03:00
|
|
|
nativeBuildInputs = [
|
|
|
|
intltool
|
2021-01-17 05:21:50 +03:00
|
|
|
pkg-config
|
2020-04-16 07:01:34 +03:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libxfce4ui
|
|
|
|
xfce4-panel
|
2020-12-29 00:17:55 +03:00
|
|
|
exo
|
2020-04-16 07:01:34 +03:00
|
|
|
gnutls
|
|
|
|
libgcrypt
|
|
|
|
];
|
|
|
|
|
2022-09-28 00:46:24 +03:00
|
|
|
passthru.updateScript = gitUpdater {
|
|
|
|
url = "https://gitlab.xfce.org/panel-plugins/${pname}";
|
|
|
|
rev-prefix = "${pname}-";
|
|
|
|
};
|
2017-02-08 20:31:32 +03:00
|
|
|
|
2021-01-11 10:54:33 +03:00
|
|
|
meta = with lib; {
|
2020-04-16 07:01:34 +03:00
|
|
|
homepage = "https://docs.xfce.org/panel-plugins/xfce4-mailwatch-plugin";
|
|
|
|
description = "Mail watcher plugin for Xfce panel";
|
2020-12-29 00:17:55 +03:00
|
|
|
license = licenses.gpl2Only;
|
2017-02-08 20:31:32 +03:00
|
|
|
platforms = platforms.linux;
|
2021-11-28 21:51:44 +03:00
|
|
|
maintainers = with maintainers; [ ] ++ teams.xfce.members;
|
2017-02-08 20:31:32 +03:00
|
|
|
};
|
|
|
|
}
|