nixos/manual: Must disable secure boot on UEFI installs (#364406)
[NixPkgs.git] / pkgs / desktops / xfce / panel-plugins / xfce4-weather-plugin / default.nix
blob7a56ed84fc61bac369667397d57bc95d4a6bcb48
2   lib,
3   stdenv,
4   fetchurl,
5   pkg-config,
6   intltool,
7   glib,
8   gtk3,
9   json_c,
10   libxml2,
11   libsoup_2_4,
12   upower,
13   libxfce4ui,
14   libxfce4util,
15   xfce4-panel,
16   xfconf,
17   hicolor-icon-theme,
18   gitUpdater,
21 let
22   category = "panel-plugins";
25 stdenv.mkDerivation rec {
26   pname = "xfce4-weather-plugin";
27   version = "0.11.3";
29   src = fetchurl {
30     url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
31     sha256 = "sha256-AC0f5jkG0vOgEvPLWMzv8d+8xGZ1njbHbTsD3QHA3Fc=";
32   };
34   nativeBuildInputs = [
35     pkg-config
36     intltool
37   ];
39   buildInputs = [
40     glib
41     gtk3
42     json_c
43     libxml2
44     libsoup_2_4
45     upower
46     libxfce4ui
47     libxfce4util
48     xfce4-panel
49     xfconf
50     hicolor-icon-theme
51   ];
53   enableParallelBuilding = true;
55   passthru.updateScript = gitUpdater {
56     url = "https://gitlab.xfce.org/panel-plugins/${pname}";
57     rev-prefix = "${pname}-";
58   };
60   meta = with lib; {
61     homepage = "https://docs.xfce.org/panel-plugins/xfce4-weather-plugin";
62     description = "Weather plugin for the Xfce desktop environment";
63     license = licenses.gpl2Plus;
64     platforms = platforms.unix;
65     maintainers = with maintainers; [ ] ++ teams.xfce.members;
66   };