tuicam: init at 0.0.2 (#377825)
[NixPkgs.git] / pkgs / by-name / wi / wingpanel-indicator-ayatana / package.nix
blobf50da741c1d31f684cd0fd1ffad91181faf3cb36
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   unstableGitUpdater,
6   replaceVars,
7   meson,
8   ninja,
9   pkg-config,
10   vala,
11   gtk3,
12   libindicator-gtk3,
13   pantheon,
14   indicator-application-gtk3,
17 stdenv.mkDerivation rec {
18   pname = "wingpanel-indicator-ayatana";
19   version = "2.0.7-unstable-2023-04-18";
21   src = fetchFromGitHub {
22     owner = "Lafydev";
23     repo = pname;
24     rev = "d554663b4e199d44c1f1d53b5cc39b9a775b3f1c";
25     sha256 = "sha256-dEk0exLh+TGuQt7be2YRTS2EzPD55+edR8WibthXwhI=";
26   };
28   patches = [
29     # Tells the indicator the path for libapplication.so
30     (replaceVars ./fix-libapplication-dir.patch {
31       indicator_application = indicator-application-gtk3;
32     })
33   ];
35   nativeBuildInputs = [
36     meson
37     ninja
38     pkg-config
39     vala
40   ];
42   buildInputs = [
43     gtk3
44     libindicator-gtk3
45     pantheon.granite
46     pantheon.wingpanel
47   ];
49   passthru = {
50     updateScript = unstableGitUpdater {
51       url = "https://github.com/Lafydev/wingpanel-indicator-ayatana.git";
52     };
53   };
55   meta = with lib; {
56     description = "Ayatana Compatibility Indicator for Wingpanel";
57     homepage = "https://github.com/Lafydev/wingpanel-indicator-ayatana";
58     license = licenses.lgpl21Plus;
59     platforms = platforms.linux;
60     maintainers = teams.pantheon.members;
61   };