treewide: explicitly specify gtk and related package versions
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, python, pkgconfig, gtk, pygobject, pycairo
|
||||
{ stdenv, fetchurl, python, pkgconfig, gtk2, pygobject2, pycairo
|
||||
, buildPythonPackage, libglade ? null, isPy3k }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -14,7 +14,7 @@ buildPythonPackage rec {
|
||||
buildInputs = [ pkgconfig ]
|
||||
++ stdenv.lib.optional (libglade != null) libglade;
|
||||
|
||||
propagatedBuildInputs = [ gtk pygobject pycairo ];
|
||||
propagatedBuildInputs = [ gtk2 pygobject2 pycairo ];
|
||||
|
||||
configurePhase = "configurePhase";
|
||||
|
||||
@@ -43,8 +43,8 @@ buildPythonPackage rec {
|
||||
|
||||
postInstall = ''
|
||||
rm $out/bin/pygtk-codegen-2.0
|
||||
ln -s ${pygobject}/bin/pygobject-codegen-2.0 $out/bin/pygtk-codegen-2.0
|
||||
ln -s ${pygobject}/lib/${python.libPrefix}/site-packages/pygobject-${pygobject.version}.pth \
|
||||
ln -s ${pygobject2}/bin/pygobject-codegen-2.0 $out/bin/pygtk-codegen-2.0
|
||||
ln -s ${pygobject2}/lib/${python.libPrefix}/site-packages/pygobject-${pygobject2.version}.pth \
|
||||
$out/lib/${python.libPrefix}/site-packages/${name}.pth
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user