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 Normal View History

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