1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00

libappindicator: use python2

This commit is contained in:
Frederik Rietdijk 2016-11-09 12:08:39 +01:00
parent db8068e925
commit 4fb7a8bf1a

View file

@ -5,14 +5,14 @@
, glib, dbus_glib, gtkVersion , glib, dbus_glib, gtkVersion
, gtk2 ? null, libindicator-gtk2 ? null, libdbusmenu-gtk2 ? null , gtk2 ? null, libindicator-gtk2 ? null, libdbusmenu-gtk2 ? null
, gtk3 ? null, libindicator-gtk3 ? null, libdbusmenu-gtk3 ? null , gtk3 ? null, libindicator-gtk3 ? null, libdbusmenu-gtk3 ? null
, pythonPackages, gobjectIntrospection, vala_0_23 , python2Packages, gobjectIntrospection, vala_0_23
, monoSupport ? false, mono ? null, gtk-sharp-2_0 ? null , monoSupport ? false, mono ? null, gtk-sharp-2_0 ? null
}: }:
with lib; with lib;
let let
inherit (pythonPackages) python pygobject2 pygtk; inherit (python2Packages) python pygobject2 pygtk;
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
name = let postfix = if gtkVersion == "2" && monoSupport then "sharp" else "gtk${gtkVersion}"; name = let postfix = if gtkVersion == "2" && monoSupport then "sharp" else "gtk${gtkVersion}";
in "libappindicator-${postfix}-${version}"; in "libappindicator-${postfix}-${version}";