libindicate: do not use top-level python packages

This commit is contained in:
Frederik Rietdijk 2016-09-26 09:45:55 +02:00
parent 451f1921f1
commit 4cac775674

View File

@ -4,13 +4,15 @@
, pkgconfig, autoconf
, glib, dbus_glib, libdbusmenu-glib
, 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
}:
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}";
in "libindicate-${postfix}-${version}";
version = "${versionMajor}.${versionMinor}";