libvirt: 3.1.0 -> 3.5.0 (#25411)

This commit is contained in:
volth 2017-07-20 21:31:04 +00:00 committed by Franz Pletz
parent 63aa5df737
commit 17c8fe21fd
2 changed files with 5 additions and 4 deletions

View file

@ -12,11 +12,11 @@ with stdenv.lib;
# if you update, also bump pythonPackages.libvirt or it will break # if you update, also bump pythonPackages.libvirt or it will break
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "libvirt-${version}"; name = "libvirt-${version}";
version = "3.1.0"; version = "3.5.0";
src = fetchurl { src = fetchurl {
url = "http://libvirt.org/sources/${name}.tar.xz"; url = "http://libvirt.org/sources/${name}.tar.xz";
sha256 = "1a9j6yqfy7i5yv414wk6nv26a5bpfyyg0rpcps6ybi6a1yd04ybq"; sha256 = "05mm4xdw6g960rwvc9189nhxpm1vrilnmpl4h4m1lha11pivlqr9";
}; };
patches = [ ./build-on-bsd.patch ]; patches = [ ./build-on-bsd.patch ];
@ -59,6 +59,7 @@ stdenv.mkDerivation rec {
"--with-virtualport" "--with-virtualport"
"--with-init-script=systemd+redhat" "--with-init-script=systemd+redhat"
"--with-storage-disk" "--with-storage-disk"
] ++ optionals (stdenv.isLinux && zfs != null) [
"--with-storage-zfs" "--with-storage-zfs"
] ++ optionals stdenv.isDarwin [ ] ++ optionals stdenv.isDarwin [
"--with-init-script=none" "--with-init-script=none"

View file

@ -26839,13 +26839,13 @@ EOF
}; };
libvirt = let libvirt = let
version = "3.1.0"; version = "3.5.0";
in assert version == pkgs.libvirt.version; pkgs.stdenv.mkDerivation rec { in assert version == pkgs.libvirt.version; pkgs.stdenv.mkDerivation rec {
name = "libvirt-python-${version}"; name = "libvirt-python-${version}";
src = pkgs.fetchurl { src = pkgs.fetchurl {
url = "http://libvirt.org/sources/python/${name}.tar.gz"; url = "http://libvirt.org/sources/python/${name}.tar.gz";
sha256 = "06524dhm27fjfnmr5bqdxlmm1g9ixvzaaq572hgyy5dqwfn64spk"; sha256 = "06mc0cm4k90z8vxaslk3ifpajg8w8dvm0m2mxwcd6fdzps8fwpsw";
}; };
buildInputs = with self; [ python pkgs.pkgconfig pkgs.libvirt lxml ]; buildInputs = with self; [ python pkgs.pkgconfig pkgs.libvirt lxml ];