virtinst: could not find python modules, add python wrapper

This commit is contained in:
Aristid Breitkreuz 2013-02-05 18:15:58 +01:00
parent d10679eed4
commit 07c64a7a6c

View File

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
distutils_extra simplejson readline glance cheetah lockfile httplib2
# !!! should libvirt be a build-time dependency? Note that
# libxml2Python is a dependency of libvirt.py.
libvirt libxml2Python
libvirt libxml2Python urlgrabber
];
buildInputs =
@ -33,6 +33,7 @@ stdenv.mkDerivation rec {
installPhase =
''
python setup.py install --prefix="$out";
wrapPythonPrograms
'';
meta = {