Merge pull request #249608 from anthonyroussel/win-qemu-deprecated

win-qemu: remove

authored by

ajs124 and committed by
GitHub
b62649df 46d05173

+19 -40
-38
pkgs/applications/virtualization/driver/win-qemu/default.nix
··· 1 - { lib, stdenv, fetchurl, p7zip }: 2 - 3 - stdenv.mkDerivation rec { 4 - pname = "win-qemu"; 5 - version = "0.1.105-1"; 6 - 7 - dontUnpack = true; 8 - 9 - src = fetchurl { 10 - url = "https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-${version}/virtio-win.iso"; 11 - sha256 = "065gz7s77y0q9kfqbr27451sr28rm9azpi88sqjkfph8c6r8q3wc"; 12 - }; 13 - 14 - buildPhase = '' 15 - ${p7zip}/bin/7z x $src 16 - ''; 17 - 18 - installPhase = 19 - let 20 - copy_pvpanic = arch: version: "mkdir -p $out/${arch}/qemupanic; cp pvpanic/${version}/${arch}/* $out/${arch}/qemupanic/. \n"; 21 - copy_pciserial = arch: "mkdir -p $out/${arch}/qemupciserial; cp qemupciserial/* $out/${arch}/qemupciserial/. \n"; 22 - copy_agent = arch: '' 23 - mkdir -p $out/${arch}/qemuagent 24 - cp guest-agent/${if arch=="x86" then "qemu-ga-x86.msi" else "qemu-ga-x64.msi"} $out/${arch}/qemuagent/qemu-guest-agent.msi 25 - (cd $out/${arch}/qemuagent; ${p7zip}/bin/7z x qemu-guest-agent.msi; rm qemu-guest-agent.msi) 26 - ''; 27 - copy = arch: version: (copy_pvpanic arch version) + (copy_pciserial arch) + (copy_agent arch); 28 - in 29 - (copy "amd64" "w8.1") + (copy "x86" "w8.1"); 30 - 31 - meta = with lib; { 32 - description = "Windows QEMU Drivers"; 33 - homepage = "https://fedoraproject.org/wiki/Windows_Virtio_Drivers"; 34 - maintainers = [ ]; 35 - platforms = platforms.linux; 36 - license = licenses.gpl2; 37 - }; 38 - }
+6 -1
pkgs/applications/virtualization/driver/win-virtio/default.nix
··· 1 1 { lib, stdenv, fetchurl, libarchive }: 2 + 2 3 stdenv.mkDerivation rec { 3 4 pname = "win-virtio"; 4 5 version = "0.1.229-1"; ··· 23 24 runHook postInstall 24 25 ''; 25 26 27 + passthru.updateScript = ./update.sh; 28 + 26 29 meta = with lib; { 27 30 description = "Windows VirtIO Drivers"; 28 31 homepage = "https://docs.fedoraproject.org/en-US/quick-docs/creating-windows-virtual-machines-using-virtio-drivers/index.html"; 32 + changelog = "https://fedorapeople.org/groups/virt/virtio-win/CHANGELOG"; 29 33 license = [ licenses.bsd3 ]; 30 - maintainers = [ ]; 34 + maintainers = with maintainers; [ anthonyroussel ]; 35 + sourceProvenance = with sourceTypes; [ binaryNativeCode ]; 31 36 platforms = platforms.linux; 32 37 }; 33 38 }
+12
pkgs/applications/virtualization/driver/win-virtio/update.sh
··· 1 + #!/usr/bin/env nix-shell 2 + #!nix-shell -i bash -p curl pup common-updater-scripts 3 + 4 + set -eu -o pipefail 5 + 6 + version="$(curl -Ls https://fedorapeople.org/groups/virt/virtio-win/repo/latest/ | \ 7 + pup 'a[href*="virtio-win-"] text{}' | \ 8 + sed -E 's/virtio-win-(.*)\.noarch\.rpm/\1/' | \ 9 + sort -Vu | \ 10 + tail -n1)" 11 + 12 + update-source-version win-virtio "$version"
+1
pkgs/top-level/aliases.nix
··· 1835 1835 wineStaging = throw "'wineStaging' has been renamed to/replaced by 'wine-staging'"; # Converted to throw 2022-02-22 1836 1836 wineUnstable = throw "'wineUnstable' has been renamed to/replaced by 'winePackages.unstable'"; # Converted to throw 2022-02-22 1837 1837 wineWayland = wine-wayland; 1838 + win-qemu = throw "'win-qemu' has been replaced by 'win-virtio'"; # Added 2023-08-16 1838 1839 winpdb = throw "winpdb has been removed: abandoned by upstream"; # Added 2022-04-22 1839 1840 winusb = throw "'winusb' has been renamed to/replaced by 'woeusb'"; # Converted to throw 2022-02-22 1840 1841 wireguard = throw "'wireguard' has been renamed to/replaced by 'wireguard-tools'"; # Converted to throw 2022-02-22
-1
pkgs/top-level/all-packages.nix
··· 36493 36493 36494 36494 win-spice = callPackage ../applications/virtualization/driver/win-spice { }; 36495 36495 win-virtio = callPackage ../applications/virtualization/driver/win-virtio { }; 36496 - win-qemu = callPackage ../applications/virtualization/driver/win-qemu { }; 36497 36496 win-pvdrivers = callPackage ../applications/virtualization/driver/win-pvdrivers { }; 36498 36497 win-signed-gplpv-drivers = callPackage ../applications/virtualization/driver/win-signed-gplpv-drivers { }; 36499 36498