2020-05-24 17:26:04 +02:00
|
|
|
{ stdenv, fetchFromGitHub, lib
|
2022-10-18 23:44:19 +02:00
|
|
|
, pkg-config, cmake
|
|
|
|
, gtk-doc
|
|
|
|
, gtk3, libayatana-indicator, libdbusmenu-gtk3
|
|
|
|
, vala
|
2020-10-13 15:13:10 +02:00
|
|
|
, gobject-introspection
|
2020-05-24 17:26:04 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2022-10-18 23:44:19 +02:00
|
|
|
pname = "libayatana-appindicator";
|
2023-02-16 12:32:41 +01:00
|
|
|
version = "0.5.92";
|
2020-05-24 17:26:04 +02:00
|
|
|
|
2021-02-26 16:30:32 +01:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2020-05-24 17:26:04 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "AyatanaIndicators";
|
|
|
|
repo = "libayatana-appindicator";
|
|
|
|
rev = version;
|
2023-02-16 12:32:41 +01:00
|
|
|
sha256 = "sha256-NzaWQBb2Ez1ik23wCgW1ZQh1/rY7GcPlLvaSgV7uXrA=";
|
2020-05-24 17:26:04 +02:00
|
|
|
};
|
|
|
|
|
2022-10-18 23:44:19 +02:00
|
|
|
nativeBuildInputs = [ pkg-config cmake gtk-doc vala gobject-introspection ];
|
2020-05-24 17:26:04 +02:00
|
|
|
|
2022-10-18 23:44:19 +02:00
|
|
|
buildInputs = [ gtk3 ];
|
2020-05-24 17:26:04 +02:00
|
|
|
|
2022-10-18 23:44:19 +02:00
|
|
|
propagatedBuildInputs = [ libayatana-indicator libdbusmenu-gtk3 ];
|
2020-05-24 17:26:04 +02:00
|
|
|
|
2022-10-18 23:44:19 +02:00
|
|
|
cmakeFlags = [
|
|
|
|
"-DENABLE_BINDINGS_MONO=False"
|
|
|
|
];
|
2020-05-24 17:26:04 +02:00
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2020-05-24 17:26:04 +02:00
|
|
|
description = "Ayatana Application Indicators Shared Library";
|
|
|
|
homepage = "https://github.com/AyatanaIndicators/libayatana-appindicator";
|
|
|
|
changelog = "https://github.com/AyatanaIndicators/libayatana-appindicator/blob/${version}/ChangeLog";
|
2020-10-13 15:13:10 +02:00
|
|
|
license = [ licenses.lgpl3Plus licenses.lgpl21Plus ];
|
2020-05-24 17:26:04 +02:00
|
|
|
maintainers = [ maintainers.nickhu ];
|
2020-10-13 15:13:10 +02:00
|
|
|
platforms = platforms.linux;
|
2020-05-24 17:26:04 +02:00
|
|
|
};
|
|
|
|
}
|