adding qemu-minimal 7.0.0

This commit is contained in:
Jean-François GUILLAUME 2022-06-18 11:05:53 +02:00
parent 7f71ddfa42
commit 3cd1d127a3

View file

@ -15,24 +15,46 @@
(inherit qemu) (inherit qemu)
(name "qemu-upstream") (name "qemu-upstream")
(version "7.0.0") (version "7.0.0")
(source (origin
(source
(origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://download.qemu.org/qemu-" (uri (string-append "https://download.qemu.org/qemu-" version ".tar.xz"))
version ".tar.xz")) (sha256 (base32 "0fgq8szlc75ymgpxpkj47njqqiw65nxsl2wbg4188whzjp3pbczn"))
(sha256 (patches (search-patches
(base32 "qemu-build-info-manual.patch"
"0fgq8szlc75ymgpxpkj47njqqiw65nxsl2wbg4188whzjp3pbczn")) "qemu-fix-agent-paths.patch"
(patches (search-patches "qemu-build-info-manual.patch" ))
"qemu-fix-agent-paths.patch"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
'(begin '(begin
;; Delete the bundled meson copy. ;; Delete the bundled meson copy.
(delete-file-recursively "meson"))))) (delete-file-recursively "meson")
)
)
))
)
)
(define-public qemu-minimal-7.0-upstream
(package
(inherit qemu-minimal)
(name "qemu-minimal-upstream")
(version "7.0.0")
(source (origin
(method url-fetch)
(uri (string-append "https://download.qemu.org/qemu-" version ".tar.xz"))
(sha256 (base32 "0fgq8szlc75ymgpxpkj47njqqiw65nxsl2wbg4188whzjp3pbczn"))
(patches (search-patches
"qemu-build-info-manual.patch"
"qemu-fix-agent-paths.patch"
))
(modules '((guix build utils)))
(snippet
'(begin
;; Delete the bundled meson copy.
(delete-file-recursively "meson")
)
)
))
) )
) )
@ -40,6 +62,9 @@
(define qemu-latest (latest-version local-qemu qemu)) (define qemu-latest (latest-version local-qemu qemu))
(define local-qemu-minimal qemu-minimal-7.0-upstream)
(define qemu-minimal-latest (latest-version local-qemu-minimal qemu-minimal))
(define-public qemu-with-rbd (define-public qemu-with-rbd
(package (package
@ -60,7 +85,7 @@
(define-public qemu-minimal-with-rbd (define-public qemu-minimal-with-rbd
(package (package
(inherit qemu-minimal) (inherit qemu-minimal-latest)
(name "qemu-minimal-with-rbd") (name "qemu-minimal-with-rbd")
(arguments (arguments
(substitute-keyword-arguments `( (substitute-keyword-arguments `(