2020-12-28 21:17:57 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, intltool, libxml2, libsoup, upower,
|
|
|
|
libxfce4ui, xfce4-panel, xfconf, hicolor-icon-theme, xfce }:
|
2020-04-13 22:12:16 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
category = "panel-plugins";
|
|
|
|
in
|
2016-05-04 18:02:13 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-04-13 22:12:16 +01:00
|
|
|
pname = "xfce4-weather-plugin";
|
2020-12-28 21:17:57 +00:00
|
|
|
version = "0.11.0";
|
2016-05-04 18:02:13 +01: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-4yQuqVHVG8D97R0CpPH2Yr7Bah+xDIVfcb2mVBoRU/w=";
|
2016-05-04 18:02:13 +01:00
|
|
|
};
|
|
|
|
|
2020-04-15 18:50:54 +01:00
|
|
|
nativeBuildInputs = [
|
2021-01-17 02:21:50 +00:00
|
|
|
pkg-config
|
2020-04-15 18:50:54 +01:00
|
|
|
intltool
|
|
|
|
];
|
2016-05-04 18:02:13 +01:00
|
|
|
|
2020-04-15 18:50:54 +01:00
|
|
|
buildInputs = [
|
|
|
|
libxml2
|
|
|
|
libsoup
|
|
|
|
upower
|
|
|
|
libxfce4ui
|
|
|
|
xfce4-panel
|
2020-12-28 21:17:57 +00:00
|
|
|
xfconf
|
2020-04-15 18:50:54 +01:00
|
|
|
hicolor-icon-theme
|
|
|
|
];
|
2016-05-04 18:02:13 +01:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2021-01-15 13:21:58 +00:00
|
|
|
|
2022-02-21 15:10:33 +00:00
|
|
|
passthru.updateScript = xfce.archiveUpdater { inherit category pname version; };
|
2016-05-04 18:02:13 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-15 18:50:54 +01:00
|
|
|
homepage = "https://docs.xfce.org/panel-plugins/xfce4-weather-plugin";
|
2016-05-04 18:02:13 +01:00
|
|
|
description = "Weather plugin for the Xfce desktop environment";
|
2020-04-13 22:12:16 +01:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.unix;
|
2021-11-28 18:51:44 +00:00
|
|
|
maintainers = with maintainers; [ ] ++ teams.xfce.members;
|
2016-05-04 18:02:13 +01:00
|
|
|
};
|
|
|
|
}
|