Merge pull request #142371 from FedX-sudo/master

This commit is contained in:
Sandro 2021-10-24 18:31:19 +02:00 committed by GitHub
commit 7fdeceecd0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 81 additions and 0 deletions

View file

@ -3728,6 +3728,13 @@
githubId = 541748; githubId = 541748;
name = "Felipe Espinoza"; name = "Felipe Espinoza";
}; };
fedx-sudo = {
email = "fedx-sudo@pm.me";
github = "Fedx-sudo";
githubId = 66258975;
name = "Fedx sudo";
matrix = "fedx:matrix.org";
};
fehnomenal = { fehnomenal = {
email = "fehnomenal@fehn.systems"; email = "fehnomenal@fehn.systems";
github = "fehnomenal"; github = "fehnomenal";

View file

@ -0,0 +1,72 @@
{ 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 ];
};
}

View file

@ -164,6 +164,8 @@ with pkgs;
addOpenGLRunpath = callPackage ../build-support/add-opengl-runpath { }; addOpenGLRunpath = callPackage ../build-support/add-opengl-runpath { };
quickemu = callPackage ../development/quickemu { };
aether = callPackage ../applications/networking/aether { }; aether = callPackage ../applications/networking/aether { };
alda = callPackage ../development/interpreters/alda { }; alda = callPackage ../development/interpreters/alda { };