2021-01-31 04:36:58 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, pkg-config
|
|
|
|
, intltool
|
2024-01-16 14:54:11 +00:00
|
|
|
, glib
|
|
|
|
, gtk3
|
2021-01-31 04:36:58 +00:00
|
|
|
, libxfce4ui
|
2024-01-16 14:54:11 +00:00
|
|
|
, libxfce4util
|
|
|
|
, xfce4-panel
|
2021-01-31 04:36:58 +00:00
|
|
|
, xfconf
|
2022-09-27 21:46:24 +00:00
|
|
|
, gitUpdater
|
2021-01-31 04:36:58 +00:00
|
|
|
}:
|
2020-04-13 21:12:16 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
category = "panel-plugins";
|
2021-01-31 04:36:58 +00:00
|
|
|
in stdenv.mkDerivation rec {
|
2020-04-13 21:12:16 +00:00
|
|
|
pname = "xfce4-notes-plugin";
|
2024-01-16 14:54:11 +00:00
|
|
|
version = "1.11.0";
|
2015-01-17 02:46:34 +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";
|
2024-01-16 14:54:11 +00:00
|
|
|
sha256 = "sha256-6zgkbesPyJU1+p/5uVPHYs7OIytVhdghD6uau/KCquM=";
|
2015-01-17 02:46:34 +00:00
|
|
|
};
|
|
|
|
|
2020-04-15 17:50:52 +00:00
|
|
|
nativeBuildInputs = [
|
2021-01-17 02:21:50 +00:00
|
|
|
pkg-config
|
2020-04-15 17:50:52 +00:00
|
|
|
intltool
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2024-01-16 14:54:11 +00:00
|
|
|
glib
|
|
|
|
gtk3
|
2020-04-15 17:50:52 +00:00
|
|
|
libxfce4ui
|
2024-01-16 14:54:11 +00:00
|
|
|
libxfce4util
|
2020-04-15 17:50:52 +00:00
|
|
|
xfce4-panel
|
|
|
|
xfconf
|
|
|
|
];
|
|
|
|
|
2022-09-27 21:46:24 +00:00
|
|
|
passthru.updateScript = gitUpdater {
|
|
|
|
url = "https://gitlab.xfce.org/panel-plugins/${pname}";
|
|
|
|
rev-prefix = "${pname}-";
|
|
|
|
};
|
2015-01-17 02:46:34 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-15 17:50:52 +00:00
|
|
|
homepage = "https://docs.xfce.org/panel-plugins/xfce4-notes-plugin";
|
2015-01-17 02:46:34 +00:00
|
|
|
description = "Sticky notes plugin for Xfce panel";
|
2020-04-15 17:50:52 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2015-01-17 02:46:34 +00:00
|
|
|
platforms = platforms.linux;
|
2021-11-28 18:51:44 +00:00
|
|
|
maintainers = with maintainers; [ ] ++ teams.xfce.members;
|
2015-01-17 02:46:34 +00:00
|
|
|
};
|
|
|
|
}
|