2020-05-24 15:26:04 +00:00
|
|
|
{ stdenv, fetchFromGitHub, lib
|
2022-10-18 21:44:19 +00:00
|
|
|
, pkg-config, cmake
|
|
|
|
, gtk-doc
|
|
|
|
, gtk3, libayatana-indicator, libdbusmenu-gtk3
|
|
|
|
, vala
|
2020-10-13 13:13:10 +00:00
|
|
|
, gobject-introspection
|
2020-05-24 15:26:04 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2022-10-18 21:44:19 +00:00
|
|
|
pname = "libayatana-appindicator";
|
|
|
|
version = "0.5.91";
|
2020-05-24 15:26:04 +00:00
|
|
|
|
2021-02-26 15:30:32 +00:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2020-05-24 15:26:04 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "AyatanaIndicators";
|
|
|
|
repo = "libayatana-appindicator";
|
|
|
|
rev = version;
|
2022-10-18 21:44:19 +00:00
|
|
|
sha256 = "sha256-hOMnpBF0VaFLYvbiKp8n88F14wIeLqSCsT6GFR3ATys=";
|
2020-05-24 15:26:04 +00:00
|
|
|
};
|
|
|
|
|
2022-10-18 21:44:19 +00:00
|
|
|
nativeBuildInputs = [ pkg-config cmake gtk-doc vala gobject-introspection ];
|
2020-05-24 15:26:04 +00:00
|
|
|
|
2022-10-18 21:44:19 +00:00
|
|
|
buildInputs = [ gtk3 ];
|
2020-05-24 15:26:04 +00:00
|
|
|
|
2022-10-18 21:44:19 +00:00
|
|
|
propagatedBuildInputs = [ libayatana-indicator libdbusmenu-gtk3 ];
|
2020-05-24 15:26:04 +00:00
|
|
|
|
2022-10-18 21:44:19 +00:00
|
|
|
cmakeFlags = [
|
|
|
|
"-DENABLE_BINDINGS_MONO=False"
|
|
|
|
];
|
2020-05-24 15:26:04 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-05-24 15:26:04 +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-13 13:13:10 +00:00
|
|
|
license = [ licenses.lgpl3Plus licenses.lgpl21Plus ];
|
2020-05-24 15:26:04 +00:00
|
|
|
maintainers = [ maintainers.nickhu ];
|
2020-10-13 13:13:10 +00:00
|
|
|
platforms = platforms.linux;
|
2020-05-24 15:26:04 +00:00
|
|
|
};
|
|
|
|
}
|