gnu: libvirt: Update to 10.10.0.

* gnu/packages/virtualization.scm (libvirt): Update to 10.10.0.
[#:phases]: Add ‘fix-test-data’.
[inputs]: Add json-c.
* gnu/packages/patches/libvirt-add-install-prefix.patch: Adjust accordingly.
This commit is contained in:
Liliana Marie Prikler 2025-01-09 22:38:04 +01:00
parent ac7539d423
commit bd30b85066
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87
2 changed files with 108 additions and 63 deletions

View file

@ -1566,14 +1566,14 @@ pretty simple, REST API.")
(define-public libvirt
(package
(name "libvirt")
(version "8.6.0")
(version "10.10.0")
(source
(origin
(method url-fetch)
(uri (string-append "https://libvirt.org/sources/libvirt-"
version ".tar.xz"))
(sha256
(base32 "1qisvbshbcd5305mrb4vni559k52id7c8iw4dwdydbf97b24f658"))
(base32 "15jpfrn3d2zyhbm5ip7bmpjb6ch2bfxm1h6yfgh0l3bw3g9ppgg1"))
(patches (search-patches "libvirt-add-install-prefix.patch"))))
(build-system meson-build-system)
(arguments
@ -1618,7 +1618,11 @@ pretty simple, REST API.")
"virnetsockettest"))) ; tries to network
(substitute* "tests/meson.build"
(((format #f ".*'name': '(~a)'.*" (string-join tests "|")))
""))))))))
"")))))
(add-before 'configure 'fix-test-data
(lambda* (#:key inputs #:allow-other-keys)
(substitute* (find-files "tests/qemuvhostuserdata/usr/libexec")
(("^cat") (search-input-file inputs "bin/cat"))))))))
(inputs
(list acl
attr
@ -1628,6 +1632,7 @@ pretty simple, REST API.")
libpciaccess
gnutls
dbus
json-c
libpcap
libnl
libssh2 ;optional