2018-03-12 22:55:30 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel
|
2020-04-13 22:12:16 +01:00
|
|
|
, libxfce4ui, xfconf, gtk2, hicolor-icon-theme, xfce }:
|
|
|
|
|
|
|
|
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";
|
|
|
|
version = "1.6.0";
|
2017-03-05 20:06:25 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-04-13 22:12:16 +01:00
|
|
|
url = "mirror://xfce/src/${category}/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
|
2017-03-05 20:06:25 +00:00
|
|
|
sha256 = "0z46gyw3ihcd1jf0m5z1dsc790xv1cpi8mk1dagj3i4v14gx5mrr";
|
|
|
|
};
|
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel xfconf
|
|
|
|
gtk2 hicolor-icon-theme ];
|
2017-03-05 20:06:25 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
|
|
|
|
hardeningDisable = [ "format" ];
|
2020-04-13 22:12:16 +01:00
|
|
|
|
|
|
|
passthru.updateScript = xfce.updateScript {
|
|
|
|
inherit pname version;
|
|
|
|
attrPath = "xfce.${pname}";
|
|
|
|
versionLister = xfce.archiveLister category pname;
|
|
|
|
};
|
2017-03-05 20:06:25 +00:00
|
|
|
|
2020-04-13 22:12:16 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://goodies.xfce.org/projects/panel-plugins/${pname}";
|
2018-12-30 12:25:49 +00:00
|
|
|
description = "A simple XFCE panel plugin that lets the user run an alarm at a specified time or at the end of a specified countdown period";
|
2017-03-05 20:06:25 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl2;
|
2019-04-07 18:26:43 +01:00
|
|
|
maintainers = [ ];
|
2019-11-04 21:27:22 +00:00
|
|
|
broken = true;
|
2017-03-05 20:06:25 +00:00
|
|
|
};
|
|
|
|
}
|