diff options
author | Volth <volth@webmaster.ms> | 2017-03-08 00:06:04 +0000 |
---|---|---|
committer | Volth <volth@webmaster.ms> | 2017-03-14 04:54:11 +0000 |
commit | d4294265fd1fe752884d8d2c2cfa40f8bead6e80 (patch) | |
tree | d2e74a562d493d4b320e8c8bd98f51bb8b0e9f64 /pkgs/applications/virtualization | |
parent | 80750f459cec57f6f4ffe04a0f566a3e6bca31d5 (diff) |
virt-viewer: 2.0 -> 5.0
Diffstat (limited to 'pkgs/applications/virtualization')
-rw-r--r-- | pkgs/applications/virtualization/virt-viewer/default.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/applications/virtualization/virt-viewer/default.nix b/pkgs/applications/virtualization/virt-viewer/default.nix index f63eeb6030686..b8de872d6ff40 100644 --- a/pkgs/applications/virtualization/virt-viewer/default.nix +++ b/pkgs/applications/virtualization/virt-viewer/default.nix @@ -1,6 +1,6 @@ { stdenv, fetchurl, pkgconfig, intltool, glib, libxml2, gtk3, gtkvnc, gmp , libgcrypt, gnupg, cyrus_sasl, shared_mime_info, libvirt, libcap_ng, yajl -, gsettings_desktop_schemas, makeWrapper, xen, numactl +, gsettings_desktop_schemas, makeWrapper, xen, numactl, libvirt-glib , spiceSupport ? true, spice_gtk ? null, spice_protocol ? null, libcap ? null, gdbm ? null }: @@ -11,19 +11,20 @@ with stdenv.lib; stdenv.mkDerivation rec { baseName = "virt-viewer"; - version = "2.0"; + version = "5.0"; name = "${baseName}-${version}"; src = fetchurl { url = "http://virt-manager.org/download/sources/${baseName}/${name}.tar.gz"; - sha256 = "0dylhpk5rq9jz0l1cxs50q2s74z0wingygm1m33bmnmcnny87ig9"; + sha256 = "0blbp1wkw8ahss9va0bmcz2yx18j0mvm6fzrzhh2ly3sja5ysb8b"; }; buildInputs = [ pkgconfig intltool glib libxml2 gtk3 gtkvnc gmp libgcrypt gnupg cyrus_sasl shared_mime_info libvirt libcap_ng yajl gsettings_desktop_schemas makeWrapper - xen numactl - ] ++ optionals spiceSupport [ spice_gtk spice_protocol libcap gdbm ]; + numactl libvirt-glib + ] ++ optionals spiceSupport [ spice_gtk spice_protocol libcap gdbm + ] ++ optional (stdenv.system == "x86_64-linux") xen; postInstall = '' for f in "$out"/bin/*; do |