mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-18 00:49:52 +00:00
libindicate: stick with python2 because of pygtk dep
This commit is contained in:
parent
96191ad779
commit
8e3c19b2ab
|
@ -4,14 +4,14 @@
|
||||||
, pkgconfig, autoconf
|
, pkgconfig, autoconf
|
||||||
, glib, dbus-glib, libdbusmenu
|
, glib, dbus-glib, libdbusmenu
|
||||||
, gtkVersion ? "3", gtk2 ? null, gtk3 ? null
|
, gtkVersion ? "3", gtk2 ? null, gtk3 ? null
|
||||||
, pythonPackages, gobject-introspection, vala, gnome-doc-utils
|
, python2Packages, gobject-introspection, vala, gnome-doc-utils
|
||||||
, 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 "libindicate-${postfix}-${version}";
|
in "libindicate-${postfix}-${version}";
|
||||||
|
|
Loading…
Reference in a new issue