3
0
Fork 0
forked from mirrors/nixpkgs

libvirt: 4.10.0 -> 5.3.0

This commit is contained in:
volth 2019-05-05 21:58:11 +00:00
parent b5e4b3879c
commit 8da1da9d74
3 changed files with 8 additions and 9 deletions

View file

@ -17,19 +17,19 @@ let
buildFromTarball = stdenv.isDarwin;
in stdenv.mkDerivation rec {
name = "libvirt-${version}";
version = "4.10.0";
version = "5.3.0";
src =
if buildFromTarball then
fetchurl {
url = "http://libvirt.org/sources/${name}.tar.xz";
sha256 = "0v17zzyyb25nn9l18v5244myg7590dp6ppwgi8xysipifc0q77bz";
sha256 = "00f1blazv589cbfc85p4347x68kr45mz1r37z9bkjyw10vavsr45";
}
else
fetchgit {
url = git://libvirt.org/libvirt.git;
rev = "v${version}";
sha256 = "0dlpv3v6jpbmgvhpn29ryp0w2a1xny8ciqid8hnlf3klahz9kwz9";
sha256 = "10amj2aibc1cywiwn989n09sdngiw8ghp5jvdr7lwh9wdb0a3r57";
fetchSubmodules = true;
};
@ -82,7 +82,6 @@ in stdenv.mkDerivation rec {
"--with-numad"
"--with-macvtap"
"--with-virtualport"
"--with-init-script=systemd+redhat"
"--with-storage-disk"
] ++ optionals (stdenv.isLinux && zfs != null) [
"--with-storage-zfs"

View file

@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "libvirt";
version = "4.10.0";
version = "5.3.0";
src = assert version == libvirt.version; fetchgit {
url = git://libvirt.org/libvirt-python.git;
rev = "v${version}";
sha256 = "184gd857fkks9ivh4zzbmva2fs2dfxg9lihvhfrwyd2pxflglvyf";
sha256 = "1l2a0gxmf071rd198c1z0ls3idr30i0aarf04bi9v705zdv90sxa";
};
nativeBuildInputs = [ pkgconfig ];

View file

@ -14562,12 +14562,12 @@ let
};
SysVirt = buildPerlModule rec {
version = "4.10.0";
version = "5.3.0";
name = "Sys-Virt-${version}";
src = assert version == pkgs.libvirt.version; pkgs.fetchgit {
url = git://libvirt.org/libvirt-perl.git;
rev = "v${version}";
sha256 = "1dfwq4d46kx18lz27rb3jkxb0g1hirpq70vr4572sc38rybpq59v";
rev = "a1e85f96e3897f56e8686e9312c69de764f5a48c"; # there is no "v5.3.0" tag
sha256 = "1w80bhsdpcrk99cv355jyhl510a0nawnn9adffwj50a59ka77ihw";
};
nativeBuildInputs = [ pkgs.pkgconfig ];
buildInputs = [ pkgs.libvirt CPANChanges TestPod TestPodCoverage XMLXPath ];