mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
virt-viewer: remove unused packages
This commit is contained in:
parent
066bd13613
commit
4471efd9e0
1 changed files with 7 additions and 11 deletions
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue