diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2023-08-12 07:46:48 +0100 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-08-23 20:27:03 +0000 |
commit | 8af0d023f6389cd1476016631827cf734ea84397 (patch) | |
tree | 4eead7841bcdb36e7db34b3ec99cb2929a9d142f /pkgs/applications | |
parent | 32e841474f353dbe71db95c64d2429f24c38618b (diff) |
qemu: 8.0.3 -> 8.0.4
While at it added a trivial updater. Changes: https://www.mail-archive.com/qemu-devel@nongnu.org/msg981379.html
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/virtualization/qemu/default.nix | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/pkgs/applications/virtualization/qemu/default.nix b/pkgs/applications/virtualization/qemu/default.nix index fef89eb10023d..16f9d1a2499b5 100644 --- a/pkgs/applications/virtualization/qemu/default.nix +++ b/pkgs/applications/virtualization/qemu/default.nix @@ -37,6 +37,7 @@ , nixosTestRunner ? false , doCheck ? false , qemu # for passthru.tests +, gitUpdater }: let @@ -48,11 +49,11 @@ stdenv.mkDerivation rec { + lib.optionalString xenSupport "-xen" + lib.optionalString hostCpuOnly "-host-cpu-only" + lib.optionalString nixosTestRunner "-for-vm-tests"; - version = "8.0.3"; + version = "8.0.4"; src = fetchurl { url = "https://download.qemu.org/qemu-${version}.tar.xz"; - hash = "sha256-7PTTLL7505e/yMxQ5NHpKhswJTvzLo7nPHqNz5ojKwk="; + hash = "sha256-gcgX3aOK+Vi+W+8abPVbZYuy0/uHwealcd5reyxEUWw="; }; depsBuildBuild = [ buildPackages.stdenv.cc ] @@ -249,6 +250,12 @@ stdenv.mkDerivation rec { tests = { qemu-tests = qemu.override { doCheck = true; }; }; + updateScript = gitUpdater { + # No nicer place to find latest release. + url = "https://gitlab.com/qemu-project/qemu.git"; + rev-prefix = "v"; + ignoredVersions = "(alpha|beta|rc).*"; + }; }; # Builds in ~3h with 2 cores, and ~20m with a big-parallel builder. |