Merge pull request #35151 from xeji/virtmanager-cleanup

virtmanager: 1.4.3 -> 1.5.0, cleanup dependencies
This commit is contained in:
Jörg Thalheim 2018-02-23 11:31:21 +00:00 committed by GitHub
commit aa6d6cc78f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
{ stdenv, fetchurl, python2Packages, intltool, file
, wrapGAppsHook, virtinst, gtkvnc, vte, avahi, dconf
, wrapGAppsHook, gtkvnc, vte, avahi, dconf
, gobjectIntrospection, libvirt-glib, system-libvirt
, gsettings_desktop_schemas, glib, libosinfo, gnome3
, gsettings_desktop_schemas, glib, libosinfo, gnome3, gtk3
, spiceSupport ? true, spice_gtk ? null
}:
@ -9,12 +9,12 @@ with stdenv.lib;
python2Packages.buildPythonApplication rec {
name = "virt-manager-${version}";
version = "1.4.3";
version = "1.5.0";
namePrefix = "";
src = fetchurl {
url = "http://virt-manager.org/download/sources/virt-manager/${name}.tar.gz";
sha256 = "093azs8p4p7y4nf5j25xpsvdxww7gky1g0hs8mkcvmpxl2wjd0jj";
sha256 = "d43a7b99d40acdcb8e9455e7874beee132cfcfce9eed0d6252e8f254a82cadc6";
};
nativeBuildInputs = [
@ -23,15 +23,13 @@ python2Packages.buildPythonApplication rec {
];
buildInputs =
[ libvirt-glib vte virtinst dconf gtkvnc gnome3.defaultIconTheme avahi
gsettings_desktop_schemas libosinfo
[ libvirt-glib vte dconf gtkvnc gnome3.defaultIconTheme avahi
gsettings_desktop_schemas libosinfo gtk3
] ++ optional spiceSupport spice_gtk;
propagatedBuildInputs = with python2Packages;
[ eventlet greenlet gflags netaddr carrot routes PasteDeploy
m2crypto ipy twisted distutils_extra simplejson
cheetah lockfile httplib2 urlgrabber pyGtkGlade dbus-python
pygobject3 ipaddr mox libvirt libxml2 requests
[
pygobject3 ipaddr libvirt libxml2 requests
];
patchPhase = ''
@ -63,6 +61,8 @@ python2Packages.buildPythonApplication rec {
manages Xen and LXC (linux containers).
'';
license = licenses.gpl2;
# exclude Darwin since libvirt-glib currently doesn't build there
platforms = platforms.linux;
maintainers = with maintainers; [ qknight offline fpletz ];
};
}