Skip to content

Commit

Permalink
qemu: 8.0.3 -> 8.0.4
Browse files Browse the repository at this point in the history
While at it added a trivial updater.

Changes: https://www.mail-archive.com/qemu-devel@nongnu.org/msg981379.html
(cherry picked from commit a843035)
  • Loading branch information
trofi authored and alyssais committed Aug 24, 2023
1 parent d110071 commit a34d1f6
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions pkgs/applications/virtualization/qemu/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
, nixosTestRunner ? false
, doCheck ? false
, qemu # for passthru.tests
, gitUpdater
}:

let
Expand All @@ -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 ]
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit a34d1f6

Please sign in to comment.