libindicate: do not use top-level python packages
This commit is contained in:
parent
451f1921f1
commit
4cac775674
|
@ -4,13 +4,15 @@
|
||||||
, pkgconfig, autoconf
|
, pkgconfig, autoconf
|
||||||
, glib, dbus_glib, libdbusmenu-glib
|
, glib, dbus_glib, libdbusmenu-glib
|
||||||
, gtkVersion, gtk2 ? null, gtk3 ? null
|
, gtkVersion, gtk2 ? null, gtk3 ? null
|
||||||
, python, pygobject2, pygtk, gobjectIntrospection, vala_0_23, gnome_doc_utils
|
, pythonPackages, gobjectIntrospection, vala_0_23, 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;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let
|
||||||
|
inherit (pythonPackages) python pygobject2 pygtk;
|
||||||
|
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}";
|
||||||
version = "${versionMajor}.${versionMinor}";
|
version = "${versionMajor}.${versionMinor}";
|
||||||
|
|
Loading…
Reference in New Issue