libayatana-indicator: init at 0.6.3

This commit is contained in:
Nick Hu 2020-05-24 16:25:38 +01:00
parent f35be99c66
commit 628c8ddc90
No known key found for this signature in database
GPG key ID: 9E35DDA3DF631330
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ stdenv, fetchFromGitHub, lib
, pkgconfig, autoreconfHook
, gtkVersion ? "3"
, gtk2
, gtk3
, ayatana-ido
}:
stdenv.mkDerivation rec {
pname = "libayatana-indicator-gtk${gtkVersion}";
version = "0.6.3";
src = fetchFromGitHub {
owner = "AyatanaIndicators";
repo = "libayatana-indicator";
rev = version;
sha256 = "1q9wmaw6pckwyrv0s7wkqzm1yrk031pbz4xbr8cwn75ixqyfcb28";
};
nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [ ayatana-ido ]
++ lib.lists.optionals (gtkVersion == "2") [ gtk2 ]
++ lib.lists.optionals (gtkVersion == "3") [ gtk3 ];
configureFlags = [ "--with-gtk=${gtkVersion}" ];
meta = with stdenv.lib; {
description = "Ayatana Indicators Shared Library";
homepage = "https://github.com/AyatanaIndicators/libayatana-indicator";
changelog = "https://github.com/AyatanaIndicators/libayatana-indicator/blob/${version}/ChangeLog";
license = licenses.gpl3;
maintainers = [ maintainers.nickhu ];
platforms = platforms.x86_64;
};
}

View file

@ -13010,6 +13010,10 @@ in
libindicator-gtk3 = libindicator.override { gtkVersion = "3"; };
libindicator = callPackage ../development/libraries/libindicator { };
libayatana-indicator-gtk2 = libayatana-indicator.override { gtkVersion = "2"; };
libayatana-indicator-gtk3 = libayatana-indicator.override { gtkVersion = "3"; };
libayatana-indicator = callPackage ../development/libraries/libayatana-indicator { };
libinotify-kqueue = callPackage ../development/libraries/libinotify-kqueue { };
libiodbc = callPackage ../development/libraries/libiodbc {