2021-01-17 02:21:50 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, intltool, libxfce4util, xfce4-panel, libxfce4ui, gtk3, hicolor-icon-theme, xfce }:
|
2020-04-13 22:12:16 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
category = "panel-plugins";
|
|
|
|
in
|
2017-03-05 20:06:25 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-04-13 22:12:16 +01:00
|
|
|
pname = "xfce4-timer-plugin";
|
2020-08-01 21:17:30 +01:00
|
|
|
version = "1.7.1";
|
2017-03-05 20:06:25 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-15 13:21:58 +00:00
|
|
|
url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
|
2021-06-17 01:20:52 +01:00
|
|
|
sha256 = "sha256-S1LSkRsZSelFlxvmUzFV7mupnHcHjqx/1DsPKuyoJOM=";
|
2017-03-05 20:06:25 +00:00
|
|
|
};
|
|
|
|
|
2020-04-15 18:50:53 +01:00
|
|
|
nativeBuildInputs = [
|
2021-01-17 02:21:50 +00:00
|
|
|
pkg-config
|
2020-04-15 18:50:53 +01:00
|
|
|
intltool
|
|
|
|
];
|
2017-03-05 20:06:25 +00:00
|
|
|
|
2020-04-15 18:50:53 +01:00
|
|
|
buildInputs = [
|
|
|
|
libxfce4util
|
|
|
|
libxfce4ui
|
|
|
|
xfce4-panel
|
|
|
|
gtk3
|
|
|
|
hicolor-icon-theme
|
|
|
|
];
|
2017-03-05 20:06:25 +00:00
|
|
|
|
|
|
|
hardeningDisable = [ "format" ];
|
2021-01-15 13:21:58 +00:00
|
|
|
|
2022-02-21 15:10:33 +00:00
|
|
|
passthru.updateScript = xfce.archiveUpdater { inherit category pname version; };
|
2017-03-05 20:06:25 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-15 18:50:53 +01:00
|
|
|
homepage = "https://docs.xfce.org/panel-plugins/xfce4-timer-plugin";
|
|
|
|
description = "Simple countdown and alarm plugin for the Xfce panel";
|
2017-03-05 20:06:25 +00:00
|
|
|
platforms = platforms.linux;
|
2021-03-02 12:06:57 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2021-11-28 18:51:44 +00:00
|
|
|
maintainers = with maintainers; [ ] ++ teams.xfce.members;
|
2017-03-05 20:06:25 +00:00
|
|
|
};
|
|
|
|
}
|