2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkgconfig, 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 {
|
2020-04-13 22:12:16 +01:00
|
|
|
url = "mirror://xfce/src/${category}/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
|
2020-08-01 21:17:30 +01:00
|
|
|
sha256 = "1qr4m3n2l3rvsizsr3h7fyfajszfalqm7rhvjx2yjj8r3f8x4ljb";
|
2017-03-05 20:06:25 +00:00
|
|
|
};
|
|
|
|
|
2020-04-15 18:50:53 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
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" ];
|
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
|
|
|
|
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;
|
|
|
|
license = licenses.gpl2;
|
2019-04-07 18:26:43 +01:00
|
|
|
maintainers = [ ];
|
2017-03-05 20:06:25 +00:00
|
|
|
};
|
|
|
|
}
|