virtinst: could not find python modules, add python wrapper
This commit is contained in:
parent
d10679eed4
commit
07c64a7a6c
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
|||||||
distutils_extra simplejson readline glance cheetah lockfile httplib2
|
distutils_extra simplejson readline glance cheetah lockfile httplib2
|
||||||
# !!! should libvirt be a build-time dependency? Note that
|
# !!! should libvirt be a build-time dependency? Note that
|
||||||
# libxml2Python is a dependency of libvirt.py.
|
# libxml2Python is a dependency of libvirt.py.
|
||||||
libvirt libxml2Python
|
libvirt libxml2Python urlgrabber
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
@ -31,8 +31,9 @@ stdenv.mkDerivation rec {
|
|||||||
buildPhase = "python setup.py build";
|
buildPhase = "python setup.py build";
|
||||||
|
|
||||||
installPhase =
|
installPhase =
|
||||||
''
|
''
|
||||||
python setup.py install --prefix="$out";
|
python setup.py install --prefix="$out";
|
||||||
|
wrapPythonPrograms
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user