pygtk: propagate gtk (fixes solfege build)

This commit is contained in:
Vladimír Čunát 2013-06-13 12:59:13 +02:00
parent 3d1491c166
commit 84262c18e3
2 changed files with 4 additions and 5 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, python, pkgconfig, glib, gtk, pygobject, pycairo
{ stdenv, fetchurl, python, pkgconfig, gtk, pygobject, pycairo
, buildPythonPackage, libglade ? null }:
buildPythonPackage rec {
@ -9,11 +9,10 @@ buildPythonPackage rec {
sha256 = "4acf0ef2bde8574913c40ee4a43d9c4f43bb77b577b67147271b534501a54cc8";
};
buildInputs =
[ pkgconfig glib gtk ]
buildInputs = [ pkgconfig ]
++ stdenv.lib.optional (libglade != null) libglade;
propagatedBuildInputs = [ pygobject pycairo ];
propagatedBuildInputs = [ gtk pygobject pycairo ];
installCommand = "make install";
checkPhase = stdenv.lib.optionalString (libglade == null)

View file

@ -97,7 +97,7 @@ pythonPackages = python.modules // rec {
};
pygtk = import ../development/python-modules/pygtk {
inherit (pkgs) fetchurl stdenv pkgconfig glib gtk;
inherit (pkgs) fetchurl stdenv pkgconfig gtk;
inherit python buildPythonPackage pygobject pycairo;
};