2020-08-20 17:08:02 +00:00
|
|
|
{ stdenv, fetchFromGitHub, lib
|
2022-10-21 18:38:19 +00:00
|
|
|
, pkg-config, cmake
|
|
|
|
, gtk-doc
|
|
|
|
, gtk3, libayatana-indicator, libdbusmenu-gtk3
|
|
|
|
, vala
|
2020-10-16 20:44:37 +00:00
|
|
|
, gobject-introspection
|
2020-08-20 17:08:02 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2022-10-21 18:38:19 +00:00
|
|
|
pname = "libayatana-appindicator";
|
2023-02-16 17:41:37 +00:00
|
|
|
version = "0.5.92";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "AyatanaIndicators";
|
|
|
|
repo = "libayatana-appindicator";
|
|
|
|
rev = version;
|
2023-02-16 17:41:37 +00:00
|
|
|
sha256 = "sha256-NzaWQBb2Ez1ik23wCgW1ZQh1/rY7GcPlLvaSgV7uXrA=";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
nativeBuildInputs = [ pkg-config cmake gtk-doc vala gobject-introspection ];
|
2020-08-20 17:08:02 +00:00
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
buildInputs = [ gtk3 ];
|
2020-08-20 17:08:02 +00:00
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
propagatedBuildInputs = [ libayatana-indicator libdbusmenu-gtk3 ];
|
2020-08-20 17:08:02 +00:00
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
cmakeFlags = [
|
|
|
|
"-DENABLE_BINDINGS_MONO=False"
|
|
|
|
];
|
2020-08-20 17:08:02 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-08-20 17:08:02 +00: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-16 20:44:37 +00:00
|
|
|
license = [ licenses.lgpl3Plus licenses.lgpl21Plus ];
|
2020-08-20 17:08:02 +00:00
|
|
|
maintainers = [ maintainers.nickhu ];
|
2020-10-16 20:44:37 +00:00
|
|
|
platforms = platforms.linux;
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
}
|