3efb07b9cc
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
72 lines
1.2 KiB
Nix
72 lines
1.2 KiB
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, stdenv
|
|
, makeWrapper
|
|
, qemu
|
|
, gnugrep
|
|
, lsb-release
|
|
, jq
|
|
, procps
|
|
, python3
|
|
, cdrtools
|
|
, usbutils
|
|
, util-linux
|
|
, spicy
|
|
, swtpm
|
|
, wget
|
|
, xdg-user-dirs
|
|
, xrandr
|
|
, zsync
|
|
}:
|
|
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 = "2.2.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "wimpysworld";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-gextBOWxJafwdWzkp89thhRgcy1XBTDh2VyseHQM1G0=";
|
|
};
|
|
|
|
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}"
|
|
done
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Quickly create and run optimised Windows, macOS and Linux desktop virtual machines";
|
|
homepage = "https://github.com/wimpysworld/quickemu";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fedx-sudo ];
|
|
};
|
|
}
|