libvirt: 12.4.0 -> 12.6.0

Updated done using:

`$ nix-shell maintainers/scripts/update.nix --argstr package libvirt`

Upstream changelog: https://libvirt.org/news.html

The additional change in package.nix is caused by a upstream change [0]
that first appeared in 12.6.0. Although the commit message [0] says
the libvirtd driver option should be sufficient to turn this on, this
seems not to be the case.

[0] 4d7cfb4cdf

Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
On-behalf-of: SAP philipp.schuster@sap.com
This commit is contained in:
Philipp Schuster
2026-08-10 15:10:47 +02:00
parent ee8974ea57
commit 041b4bbdb7
3 changed files with 7 additions and 6 deletions

View File

@@ -121,14 +121,14 @@ assert enableZfs -> isLinux;
stdenv.mkDerivation rec {
pname = "libvirt";
# if you update, also bump <nixpkgs/pkgs/development/python-modules/libvirt/default.nix> and SysVirt in <nixpkgs/pkgs/top-level/perl-packages.nix>
version = "12.4.0";
version = "12.6.0";
src = fetchFromGitLab {
owner = "libvirt";
repo = "libvirt";
tag = "v${version}";
fetchSubmodules = true;
hash = "sha256-xgXbgZ8UDdiKPJSGEHB5PasGws5VvCgd+DpoOxwceEA=";
hash = "sha256-SEscELXhiEoFnDDcxV7Jb2LjyheNJbgPp7AnXix2GVU=";
};
patches = [
@@ -350,6 +350,7 @@ stdenv.mkDerivation rec {
(feat "tests" true)
(feat "udev" isLinux)
(feat "json_c" true)
(feat "libvirtd" true)
(driver "ch" (isLinux && (stdenv.hostPlatform.isx86_64 || stdenv.hostPlatform.isAarch64)))
(driver "esx" true)

View File

@@ -12,14 +12,14 @@
buildPythonPackage rec {
pname = "libvirt-python";
version = "12.4.0";
version = "12.6.0";
pyproject = true;
src = fetchFromGitLab {
owner = "libvirt";
repo = "libvirt-python";
tag = "v${version}";
hash = "sha256-8+o3ji7b0PCGxnHbsUJTUn1oudeN3rV+ehUILmufD1M=";
hash = "sha256-BJGXIc3Oggwod4d+JT7ag///oQIErqHVnORhn9CUUr0=";
};
postPatch = ''

View File

@@ -32798,12 +32798,12 @@ with self;
SysVirt = buildPerlModule rec {
pname = "Sys-Virt";
version = "12.4.0";
version = "12.6.0";
src = fetchFromGitLab {
owner = "libvirt";
repo = "libvirt-perl";
tag = "v${version}";
hash = "sha256-GMZvSRZnxrPvhhLOJoFnNas7+ccsGXsL6s16EAeeFJQ=";
hash = "sha256-Na+O1sw5elyDsUutevcJh1WuhVHCBDu5usDx1zme9WI=";
};
nativeBuildInputs = [ pkgs.pkg-config ];
buildInputs = [