Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / libayatana-appindicator / default.nix
blob719f1b3e4275a7c975fffe0a794c25b67f926c5d
1 { stdenv, fetchFromGitHub, lib
2 , pkg-config, cmake
3 , gtk-doc
4 , gtk3, libayatana-indicator, libdbusmenu-gtk3
5 , vala
6 , gobject-introspection
7 }:
9 stdenv.mkDerivation rec {
10   pname = "libayatana-appindicator";
11   version = "0.5.92";
13   outputs = [ "out" "dev" ];
15   src = fetchFromGitHub {
16     owner = "AyatanaIndicators";
17     repo = "libayatana-appindicator";
18     rev = version;
19     sha256 = "sha256-NzaWQBb2Ez1ik23wCgW1ZQh1/rY7GcPlLvaSgV7uXrA=";
20   };
22   nativeBuildInputs = [ pkg-config cmake gtk-doc vala gobject-introspection ];
24   buildInputs = [ gtk3 ];
26   propagatedBuildInputs = [ libayatana-indicator libdbusmenu-gtk3 ];
28   cmakeFlags = [
29     "-DENABLE_BINDINGS_MONO=False"
30   ];
32   meta = with lib; {
33     description = "Ayatana Application Indicators Shared Library";
34     homepage = "https://github.com/AyatanaIndicators/libayatana-appindicator";
35     changelog = "https://github.com/AyatanaIndicators/libayatana-appindicator/blob/${version}/ChangeLog";
36     license = [ licenses.lgpl3Plus licenses.lgpl21Plus ];
37     maintainers = [ maintainers.nickhu ];
38     platforms = platforms.linux;
39   };