mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +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
|
{ stdenv, fetchurl, pkgconfig, intltool, shared-mime-info, wrapGAppsHook
|
||||||
, libgcrypt, gnupg, cyrus_sasl, shared-mime-info, libvirt, yajl
|
, glib, gsettings-desktop-schemas, gtk-vnc, gtk3, libvirt, libvirt-glib, libxml2, vte
|
||||||
, gsettings-desktop-schemas, wrapGAppsHook, libvirt-glib, libcap_ng, numactl
|
|
||||||
, libapparmor, gst_all_1
|
|
||||||
, spiceSupport ? true
|
, spiceSupport ? true
|
||||||
, spice-gtk ? null, spice-protocol ? null, libcap ? null, gdbm ? null
|
, spice-gtk ? null, spice-protocol ? null, libcap ? null, gdbm ? null
|
||||||
, xenSupport ? false, xen ? null
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert spiceSupport ->
|
assert spiceSupport ->
|
||||||
|
@ -22,13 +19,9 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "1vdnjmhrva7r1n9nv09j8gc12hy0j9j5l4rka4hh0jbsbpnmiwyw";
|
sha256 = "1vdnjmhrva7r1n9nv09j8gc12hy0j9j5l4rka4hh0jbsbpnmiwyw";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig intltool wrapGAppsHook ];
|
nativeBuildInputs = [ pkgconfig intltool shared-mime-info wrapGAppsHook glib ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
glib libxml2 gtk3 gtk-vnc gmp libgcrypt gnupg cyrus_sasl shared-mime-info
|
glib gsettings-desktop-schemas gtk-vnc gtk3 libvirt libvirt-glib libxml2 vte
|
||||||
libvirt yajl gsettings-desktop-schemas libvirt-glib
|
|
||||||
libcap_ng numactl libapparmor
|
|
||||||
] ++ optionals xenSupport [
|
|
||||||
xen
|
|
||||||
] ++ optionals spiceSupport [
|
] ++ optionals spiceSupport [
|
||||||
spice-gtk spice-protocol libcap gdbm
|
spice-gtk spice-protocol libcap gdbm
|
||||||
];
|
];
|
||||||
|
@ -36,6 +29,9 @@ stdenv.mkDerivation rec {
|
||||||
# Required for USB redirection PolicyKit rules file
|
# Required for USB redirection PolicyKit rules file
|
||||||
propagatedUserEnvPkgs = optional spiceSupport spice-gtk;
|
propagatedUserEnvPkgs = optional spiceSupport spice-gtk;
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A viewer for remote virtual machines";
|
description = "A viewer for remote virtual machines";
|
||||||
maintainers = [ maintainers.raskin ];
|
maintainers = [ maintainers.raskin ];
|
||||||
|
|
Loading…
Reference in a new issue