nixpkgs/pkgs/development/quickemu/default.nix

86 lines
1.5 KiB
Nix
Raw Normal View History

quickemu: init at 2.2.6 quickemu: init at 2.2.6 quickemu: init at 2.2.6 Added quickemu to nixpkgs quickemu: init at 2.2.6 quickemu: init at 2.2.6 remove bad merge files quickemu: init at 2.2.6 quickemu: init at 2.2.6 quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. Update pkgs/development/quickemu/default.nix Co-authored-by: Bruno Bigras <bigras.bruno@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Michele Guerini Rocco <rnhmjoj@users.noreply.github.com> quickemu: init at 2.2.6 quickemu: init at 2.2.6 Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> quickemu: init at 2.2.6
2021-10-18 22:53:44 +00:00
{ lib
, fetchFromGitHub
, stdenv
, makeWrapper
, qemu
, gnugrep
, lsb-release
, jq
, procps
, python3
, cdrtools
, usbutils
, util-linux
, spicy
, swtpm
, wget
, xdg-user-dirs
, xrandr
, zsync
, OVMF
, quickemu
, testVersion
quickemu: init at 2.2.6 quickemu: init at 2.2.6 quickemu: init at 2.2.6 Added quickemu to nixpkgs quickemu: init at 2.2.6 quickemu: init at 2.2.6 remove bad merge files quickemu: init at 2.2.6 quickemu: init at 2.2.6 quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. Update pkgs/development/quickemu/default.nix Co-authored-by: Bruno Bigras <bigras.bruno@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Michele Guerini Rocco <rnhmjoj@users.noreply.github.com> quickemu: init at 2.2.6 quickemu: init at 2.2.6 Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> quickemu: init at 2.2.6
2021-10-18 22:53:44 +00:00
}:
let
runtimePaths = [
qemu
gnugrep
jq
lsb-release
procps
python3
cdrtools
usbutils
util-linux
spicy
swtpm
wget
xdg-user-dirs
xrandr
zsync
];
in
stdenv.mkDerivation rec {
pname = "quickemu";
version = "3.11";
quickemu: init at 2.2.6 quickemu: init at 2.2.6 quickemu: init at 2.2.6 Added quickemu to nixpkgs quickemu: init at 2.2.6 quickemu: init at 2.2.6 remove bad merge files quickemu: init at 2.2.6 quickemu: init at 2.2.6 quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. Update pkgs/development/quickemu/default.nix Co-authored-by: Bruno Bigras <bigras.bruno@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Michele Guerini Rocco <rnhmjoj@users.noreply.github.com> quickemu: init at 2.2.6 quickemu: init at 2.2.6 Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> quickemu: init at 2.2.6
2021-10-18 22:53:44 +00:00
src = fetchFromGitHub {
owner = "quickemu-project";
repo = "quickemu";
quickemu: init at 2.2.6 quickemu: init at 2.2.6 quickemu: init at 2.2.6 Added quickemu to nixpkgs quickemu: init at 2.2.6 quickemu: init at 2.2.6 remove bad merge files quickemu: init at 2.2.6 quickemu: init at 2.2.6 quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. Update pkgs/development/quickemu/default.nix Co-authored-by: Bruno Bigras <bigras.bruno@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Michele Guerini Rocco <rnhmjoj@users.noreply.github.com> quickemu: init at 2.2.6 quickemu: init at 2.2.6 Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> quickemu: init at 2.2.6
2021-10-18 22:53:44 +00:00
rev = version;
sha256 = "1xwf9vwbr57wmyxfcqzl1jnmfx3ffh7sfqf0zcdq41wqkm8s106n";
quickemu: init at 2.2.6 quickemu: init at 2.2.6 quickemu: init at 2.2.6 Added quickemu to nixpkgs quickemu: init at 2.2.6 quickemu: init at 2.2.6 remove bad merge files quickemu: init at 2.2.6 quickemu: init at 2.2.6 quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. Update pkgs/development/quickemu/default.nix Co-authored-by: Bruno Bigras <bigras.bruno@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Michele Guerini Rocco <rnhmjoj@users.noreply.github.com> quickemu: init at 2.2.6 quickemu: init at 2.2.6 Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> quickemu: init at 2.2.6
2021-10-18 22:53:44 +00:00
};
patches = [
./efi_vars_ensure_writable.patch
./input_overrides.patch
];
quickemu: init at 2.2.6 quickemu: init at 2.2.6 quickemu: init at 2.2.6 Added quickemu to nixpkgs quickemu: init at 2.2.6 quickemu: init at 2.2.6 remove bad merge files quickemu: init at 2.2.6 quickemu: init at 2.2.6 quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. Update pkgs/development/quickemu/default.nix Co-authored-by: Bruno Bigras <bigras.bruno@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Michele Guerini Rocco <rnhmjoj@users.noreply.github.com> quickemu: init at 2.2.6 quickemu: init at 2.2.6 Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> quickemu: init at 2.2.6
2021-10-18 22:53:44 +00:00
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
runHook preInstall
install -Dm755 -t "$out/bin" quickemu quickget macrecovery
for f in quickget macrecovery quickemu; do
wrapProgram $out/bin/$f \
--prefix PATH : "${lib.makeBinPath runtimePaths}" \
--set ENV_EFI_CODE "${OVMF.fd}/FV/OVMF_CODE.fd" \
--set ENV_EFI_VARS "${OVMF.fd}/FV/OVMF_VARS.fd"
done
quickemu: init at 2.2.6 quickemu: init at 2.2.6 quickemu: init at 2.2.6 Added quickemu to nixpkgs quickemu: init at 2.2.6 quickemu: init at 2.2.6 remove bad merge files quickemu: init at 2.2.6 quickemu: init at 2.2.6 quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. Update pkgs/development/quickemu/default.nix Co-authored-by: Bruno Bigras <bigras.bruno@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Michele Guerini Rocco <rnhmjoj@users.noreply.github.com> quickemu: init at 2.2.6 quickemu: init at 2.2.6 Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> quickemu: init at 2.2.6
2021-10-18 22:53:44 +00:00
runHook postInstall
'';
passthru.tests = testVersion { package = quickemu; };
quickemu: init at 2.2.6 quickemu: init at 2.2.6 quickemu: init at 2.2.6 Added quickemu to nixpkgs quickemu: init at 2.2.6 quickemu: init at 2.2.6 remove bad merge files quickemu: init at 2.2.6 quickemu: init at 2.2.6 quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. Update pkgs/development/quickemu/default.nix Co-authored-by: Bruno Bigras <bigras.bruno@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Michele Guerini Rocco <rnhmjoj@users.noreply.github.com> quickemu: init at 2.2.6 quickemu: init at 2.2.6 Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> quickemu: init at 2.2.6
2021-10-18 22:53:44 +00:00
meta = with lib; {
description = "Quickly create and run optimised Windows, macOS and Linux desktop virtual machines";
homepage = "https://github.com/quickemu-project/quickemu";
quickemu: init at 2.2.6 quickemu: init at 2.2.6 quickemu: init at 2.2.6 Added quickemu to nixpkgs quickemu: init at 2.2.6 quickemu: init at 2.2.6 remove bad merge files quickemu: init at 2.2.6 quickemu: init at 2.2.6 quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. Update pkgs/development/quickemu/default.nix Co-authored-by: Bruno Bigras <bigras.bruno@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Michele Guerini Rocco <rnhmjoj@users.noreply.github.com> quickemu: init at 2.2.6 quickemu: init at 2.2.6 Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> quickemu: init at 2.2.6
2021-10-18 22:53:44 +00:00
license = licenses.mit;
maintainers = with maintainers; [ fedx-sudo ];
};
}