mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-11 15:08:33 +01:00
libappindicator: use python2
This commit is contained in:
parent
db8068e925
commit
4fb7a8bf1a
|
@ -5,14 +5,14 @@
|
|||
, glib, dbus_glib, gtkVersion
|
||||
, gtk2 ? null, libindicator-gtk2 ? null, libdbusmenu-gtk2 ? 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
|
||||
}:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
inherit (pythonPackages) python pygobject2 pygtk;
|
||||
inherit (python2Packages) python pygobject2 pygtk;
|
||||
in stdenv.mkDerivation rec {
|
||||
name = let postfix = if gtkVersion == "2" && monoSupport then "sharp" else "gtk${gtkVersion}";
|
||||
in "libappindicator-${postfix}-${version}";
|
||||
|
|
Loading…
Reference in a new issue