Skip to content

Commit

Permalink
virt-viewer: 2.0 -> 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Volth committed Mar 14, 2017
1 parent 80750f4 commit d429426
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
11 changes: 6 additions & 5 deletions pkgs/applications/virtualization/virt-viewer/default.nix
Original file line number Diff line number Diff line change
@@ -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
}:

Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/spice-gtk/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ with stdenv.lib;
let
inherit (python2Packages) python pygtk;
in stdenv.mkDerivation rec {
name = "spice-gtk-0.32";
name = "spice-gtk-0.33";

src = fetchurl {
url = "http://www.spice-space.org/download/gtk/${name}.tar.bz2";
sha256 = "00pf94xh2xf0h1g13lnavxrysd0d0x22l5jl108cvq1mjc4z8j2c";
sha256 = "0fdgx9k4vgmasp8i2n0swrkapq8f212igcg7wsgvr3mbhsvk7bvx";
};

buildInputs = [
Expand Down
4 changes: 1 addition & 3 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15718,9 +15718,7 @@ with pkgs;
inherit (lua52Packages) lpeg;
};

virt-viewer = callPackage ../applications/virtualization/virt-viewer {
spice_gtk = spice_gtk;
};
virt-viewer = callPackage ../applications/virtualization/virt-viewer { };

virt-top = callPackage ../applications/virtualization/virt-top {
ocamlPackages = ocamlPackages_4_01_0;
Expand Down

0 comments on commit d429426

Please sign in to comment.