tailscale: build derpprobe (#364918)
[NixPkgs.git] / pkgs / desktops / xfce / panel-plugins / xfce4-timer-plugin / default.nix
blobe7cec4e64ccbef040f29b35fcbb8fae5313d75b8
2   lib,
3   stdenv,
4   fetchurl,
5   pkg-config,
6   intltool,
7   libxfce4util,
8   xfce4-panel,
9   libxfce4ui,
10   glib,
11   gtk3,
12   hicolor-icon-theme,
13   gitUpdater,
16 let
17   category = "panel-plugins";
20 stdenv.mkDerivation rec {
21   pname = "xfce4-timer-plugin";
22   version = "1.7.2";
24   src = fetchurl {
25     url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
26     sha256 = "sha256-/rO4wtOVBegWaDVAoyJr172ocMy8tMfQ9qv+7/XFi30=";
27   };
29   nativeBuildInputs = [
30     pkg-config
31     intltool
32   ];
34   buildInputs = [
35     libxfce4util
36     libxfce4ui
37     xfce4-panel
38     glib
39     gtk3
40     hicolor-icon-theme
41   ];
43   hardeningDisable = [ "format" ];
45   passthru.updateScript = gitUpdater {
46     url = "https://gitlab.xfce.org/panel-plugins/${pname}";
47     rev-prefix = "${pname}-";
48   };
50   meta = with lib; {
51     homepage = "https://docs.xfce.org/panel-plugins/xfce4-timer-plugin";
52     description = "Simple countdown and alarm plugin for the Xfce panel";
53     platforms = platforms.linux;
54     license = licenses.gpl2Plus;
55     maintainers = with maintainers; [ ] ++ teams.xfce.members;
56   };