2016-05-04 18:02:13 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, gtk, libxml2, libsoup, upower,
|
2018-07-21 22:20:01 +01:00
|
|
|
libxfce4ui, libxfce4util, xfce4-panel, hicolor-icon-theme }:
|
2016-05-04 18:02:13 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${p_name}-${ver_maj}.${ver_min}";
|
|
|
|
p_name = "xfce4-weather-plugin";
|
|
|
|
ver_maj = "0.8";
|
2018-01-31 19:10:21 +00:00
|
|
|
ver_min = "10";
|
2016-05-04 18:02:13 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://xfce/src/panel-plugins/${p_name}/${ver_maj}/${name}.tar.bz2";
|
2018-01-31 19:10:21 +00:00
|
|
|
sha256 = "1f7ac2zr5s5w6krdpgsq252wxhhmcblia3j783132ilh8k246vgf";
|
2016-05-04 18:02:13 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig intltool ];
|
|
|
|
|
|
|
|
buildInputs = [ gtk libxml2 libsoup upower libxfce4ui libxfce4util
|
2018-07-21 22:20:01 +01:00
|
|
|
xfce4-panel hicolor-icon-theme ];
|
2016-05-04 18:02:13 +01:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://goodies.xfce.org/projects/panel-plugins/${p_name}";
|
|
|
|
description = "Weather plugin for the Xfce desktop environment";
|
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|