about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libayatana-appindicator/default.nix
blob: 719f1b3e4275a7c975fffe0a794c25b67f926c5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{ stdenv, fetchFromGitHub, lib
, pkg-config, cmake
, gtk-doc
, gtk3, libayatana-indicator, libdbusmenu-gtk3
, vala
, gobject-introspection
}:

stdenv.mkDerivation rec {
  pname = "libayatana-appindicator";
  version = "0.5.92";

  outputs = [ "out" "dev" ];

  src = fetchFromGitHub {
    owner = "AyatanaIndicators";
    repo = "libayatana-appindicator";
    rev = version;
    sha256 = "sha256-NzaWQBb2Ez1ik23wCgW1ZQh1/rY7GcPlLvaSgV7uXrA=";
  };

  nativeBuildInputs = [ pkg-config cmake gtk-doc vala gobject-introspection ];

  buildInputs = [ gtk3 ];

  propagatedBuildInputs = [ libayatana-indicator libdbusmenu-gtk3 ];

  cmakeFlags = [
    "-DENABLE_BINDINGS_MONO=False"
  ];

  meta = with lib; {
    description = "Ayatana Application Indicators Shared Library";
    homepage = "https://github.com/AyatanaIndicators/libayatana-appindicator";
    changelog = "https://github.com/AyatanaIndicators/libayatana-appindicator/blob/${version}/ChangeLog";
    license = [ licenses.lgpl3Plus licenses.lgpl21Plus ];
    maintainers = [ maintainers.nickhu ];
    platforms = platforms.linux;
  };
}