summaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
authorNick Hu <me@nickhu.co.uk>2020-10-13 14:13:10 +0100
committerNick Hu <me@nickhu.co.uk>2020-10-13 16:02:12 +0100
commitf0cd4058273c8b29d384a9f2fc63f7257e3aeca0 (patch)
tree0be8b73474a026fbcd39f0a1c6ebdcb930b6fd5c /pkgs
parent2c5bee7e93d7ff1cac72475b3e13fc5ebfee23bc (diff)
libayatana-appindicator: 0.5.4 -> 0.5.5, generate typelibs for gobject-introspection
libayatana-indicator: 0.6.3 -> 0.8.2
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/ayatana-ido/default.nix10
-rw-r--r--pkgs/development/libraries/libayatana-appindicator/default.nix19
-rw-r--r--pkgs/development/libraries/libayatana-indicator/default.nix12
3 files changed, 21 insertions, 20 deletions
diff --git a/pkgs/development/libraries/ayatana-ido/default.nix b/pkgs/development/libraries/ayatana-ido/default.nix
index 66ead87daa07..7b24f08822bf 100644
--- a/pkgs/development/libraries/ayatana-ido/default.nix
+++ b/pkgs/development/libraries/ayatana-ido/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub
-, pkgconfig, autoreconfHook
+, pkg-config, autoreconfHook
, gtk3, gobject-introspection, gtk-doc, vala
}:
@@ -14,16 +14,16 @@ stdenv.mkDerivation rec {
sha256 = "1jmdvvgrgicpnpnygc24qcisqb9y026541gb6lw6fwapvc9aj73p";
};
- nativeBuildInputs = [ pkgconfig autoreconfHook gtk-doc vala ];
+ nativeBuildInputs = [ pkg-config autoreconfHook gtk-doc vala gobject-introspection ];
- buildInputs = [ gtk3 gobject-introspection ];
+ buildInputs = [ gtk3 ];
meta = with stdenv.lib; {
description = "Ayatana Display Indicator Objects";
homepage = "https://github.com/AyatanaIndicators/ayatana-ido";
changelog = "https://github.com/AyatanaIndicators/ayatana-ido/blob/${version}/ChangeLog";
- license = [ licenses.gpl3 licenses.lgpl21 ];
+ license = [ licenses.lgpl3Plus licenses.lgpl21Plus ];
maintainers = [ maintainers.nickhu ];
- platforms = platforms.x86_64;
+ platforms = platforms.linux;
};
}
diff --git a/pkgs/development/libraries/libayatana-appindicator/default.nix b/pkgs/development/libraries/libayatana-appindicator/default.nix
index 84ecbc81ca57..248c33f7e0e5 100644
--- a/pkgs/development/libraries/libayatana-appindicator/default.nix
+++ b/pkgs/development/libraries/libayatana-appindicator/default.nix
@@ -1,5 +1,6 @@
{ stdenv, fetchFromGitHub, lib
-, pkgconfig, autoreconfHook , gtk-doc
+, pkg-config, autoreconfHook , gtk-doc
+, gobject-introspection
, gtkVersion ? "3"
, gtk2, libayatana-indicator-gtk2, libdbusmenu-gtk2
, gtk3, libayatana-indicator-gtk3, libdbusmenu-gtk3
@@ -8,24 +9,24 @@
stdenv.mkDerivation rec {
pname = "libayatana-appindicator-gtk${gtkVersion}";
- version = "0.5.4";
+ version = "0.5.5";
src = fetchFromGitHub {
owner = "AyatanaIndicators";
repo = "libayatana-appindicator";
rev = version;
- sha256 = "0bqjqb7gabdk7mifk8azi630qw39z978f973fx2ylgdgr4a66j1v";
+ sha256 = "1sba0w455rdkadkhxrx4fr63m0d9blsbb1q1hcshxw1k1z2nh1gk";
};
- patchPhase = ''
+ prePatch = ''
substituteInPlace configure.ac \
--replace "codegendir pygtk-2.0" "codegendir pygobject-2.0"
'';
- nativeBuildInputs = [ pkgconfig autoreconfHook gtk-doc ];
+ nativeBuildInputs = [ pkg-config autoreconfHook gtk-doc gobject-introspection python2 python2Packages.pygtk dbus-glib ];
- buildInputs = [ dbus-glib python2 python2Packages.pygtk ]
- ++ lib.lists.optional (gtkVersion == "2") libayatana-indicator-gtk2
+ buildInputs =
+ lib.lists.optional (gtkVersion == "2") libayatana-indicator-gtk2
++ lib.lists.optional (gtkVersion == "3") libayatana-indicator-gtk3;
propagatedBuildInputs =
@@ -42,8 +43,8 @@ stdenv.mkDerivation rec {
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.gpl3 licenses.lgpl21 ];
+ license = [ licenses.lgpl3Plus licenses.lgpl21Plus ];
maintainers = [ maintainers.nickhu ];
- platforms = platforms.x86_64;
+ platforms = platforms.linux;
};
}
diff --git a/pkgs/development/libraries/libayatana-indicator/default.nix b/pkgs/development/libraries/libayatana-indicator/default.nix
index 778e06aa95ce..dd9bc616944d 100644
--- a/pkgs/development/libraries/libayatana-indicator/default.nix
+++ b/pkgs/development/libraries/libayatana-indicator/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, lib
-, pkgconfig, autoreconfHook
+, pkg-config, autoreconfHook
, gtkVersion ? "3"
, gtk2
, gtk3
@@ -8,16 +8,16 @@
stdenv.mkDerivation rec {
pname = "libayatana-indicator-gtk${gtkVersion}";
- version = "0.6.3";
+ version = "0.8.2";
src = fetchFromGitHub {
owner = "AyatanaIndicators";
repo = "libayatana-indicator";
rev = version;
- sha256 = "1q9wmaw6pckwyrv0s7wkqzm1yrk031pbz4xbr8cwn75ixqyfcb28";
+ sha256 = "1wlqm3pj12vgz587a72widbg0vcmm1klsd2lh3mpzfy20m3vjxhj";
};
- nativeBuildInputs = [ pkgconfig autoreconfHook ];
+ nativeBuildInputs = [ pkg-config autoreconfHook ];
buildInputs = [ ayatana-ido ]
++ lib.lists.optionals (gtkVersion == "2") [ gtk2 ]
@@ -29,8 +29,8 @@ stdenv.mkDerivation rec {
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;
+ license = licenses.gpl3Plus;
maintainers = [ maintainers.nickhu ];
- platforms = platforms.x86_64;
+ platforms = platforms.linux;
};
}