virt-viewer: remove unused packages

This commit is contained in:
Izorkin 2019-08-20 21:48:38 +03:00 committed by Robin Gloster
parent 066bd13613
commit 4471efd9e0
No known key found for this signature in database
GPG key ID: D5C458DF6DD97EDF

View file

@ -1,10 +1,7 @@
{ stdenv, fetchurl, pkgconfig, intltool, glib, libxml2, gtk3, gtk-vnc, gmp
, libgcrypt, gnupg, cyrus_sasl, shared-mime-info, libvirt, yajl
, gsettings-desktop-schemas, wrapGAppsHook, libvirt-glib, libcap_ng, numactl
, libapparmor, gst_all_1
{ stdenv, fetchurl, pkgconfig, intltool, shared-mime-info, wrapGAppsHook
, glib, gsettings-desktop-schemas, gtk-vnc, gtk3, libvirt, libvirt-glib, libxml2, vte
, spiceSupport ? true
, spice-gtk ? null, spice-protocol ? null, libcap ? null, gdbm ? null
, xenSupport ? false, xen ? null
}:
assert spiceSupport ->
@ -22,13 +19,9 @@ stdenv.mkDerivation rec {
sha256 = "1vdnjmhrva7r1n9nv09j8gc12hy0j9j5l4rka4hh0jbsbpnmiwyw";
};
nativeBuildInputs = [ pkgconfig intltool wrapGAppsHook ];
nativeBuildInputs = [ pkgconfig intltool shared-mime-info wrapGAppsHook glib ];
buildInputs = [
glib libxml2 gtk3 gtk-vnc gmp libgcrypt gnupg cyrus_sasl shared-mime-info
libvirt yajl gsettings-desktop-schemas libvirt-glib
libcap_ng numactl libapparmor
] ++ optionals xenSupport [
xen
glib gsettings-desktop-schemas gtk-vnc gtk3 libvirt libvirt-glib libxml2 vte
] ++ optionals spiceSupport [
spice-gtk spice-protocol libcap gdbm
];
@ -36,6 +29,9 @@ stdenv.mkDerivation rec {
# Required for USB redirection PolicyKit rules file
propagatedUserEnvPkgs = optional spiceSupport spice-gtk;
strictDeps = true;
enableParallelBuilding = true;
meta = {
description = "A viewer for remote virtual machines";
maintainers = [ maintainers.raskin ];