nixpkgs/pkgs/development/libraries/libayatana-appindicator/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
1.1 KiB
Nix
Raw Permalink Normal View History

2020-05-24 17:26:04 +02:00
{ stdenv, fetchFromGitHub, lib
, pkg-config, cmake
, gtk-doc
, gtk3, libayatana-indicator, libdbusmenu-gtk3
, vala
, gobject-introspection
2020-05-24 17:26:04 +02:00
}:
stdenv.mkDerivation rec {
pname = "libayatana-appindicator";
version = "0.5.92";
2020-05-24 17:26:04 +02:00
outputs = [ "out" "dev" ];
2020-05-24 17:26:04 +02:00
src = fetchFromGitHub {
owner = "AyatanaIndicators";
repo = "libayatana-appindicator";
rev = version;
sha256 = "sha256-NzaWQBb2Ez1ik23wCgW1ZQh1/rY7GcPlLvaSgV7uXrA=";
2020-05-24 17:26:04 +02:00
};
nativeBuildInputs = [ pkg-config cmake gtk-doc vala gobject-introspection ];
2020-05-24 17:26:04 +02:00
buildInputs = [ gtk3 ];
2020-05-24 17:26:04 +02:00
propagatedBuildInputs = [ libayatana-indicator libdbusmenu-gtk3 ];
2020-05-24 17:26:04 +02:00
cmakeFlags = [
"-DENABLE_BINDINGS_MONO=False"
];
2020-05-24 17:26:04 +02: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";
license = [ licenses.lgpl3Plus licenses.lgpl21Plus ];
2020-05-24 17:26:04 +02:00
maintainers = [ maintainers.nickhu ];
platforms = platforms.linux;
2020-05-24 17:26:04 +02:00
};
}