python3Packages.qemu: init at 0.6.1.0a1

This commit is contained in:
Jack O'Sullivan 2022-05-07 18:35:39 +01:00 committed by DavHau
parent 4cf92787c8
commit 6cc7f7b9b1
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ lib
, pkgs
, buildPythonPackage
, pythonOlder
, fuseSupport ? false, fusepy
, tuiSupport ? false, urwid, urwid-readline, pygments
}:
buildPythonPackage rec {
pname = "qemu";
version = "0.6.1.0a1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = pkgs.qemu.src;
prePatch = ''
cd python
'';
propagatedBuildInputs = [ ]
++ lib.optionals fuseSupport [ fusepy ]
++ lib.optionals tuiSupport [ urwid urwid-readline pygments ];
# Project requires avocado-framework for testing
doCheck = false;
pythonImportsCheck = [ "qemu" ];
meta = with lib; {
homepage = "http://www.qemu.org/";
description = "Python tooling used by the QEMU project to build, configure, and test QEMU";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ devplayer0 ];
};
}

View File

@ -12280,6 +12280,8 @@ self: super: with self; {
qgrid = callPackage ../development/python-modules/qgrid { };
qemu = callPackage ../development/python-modules/qemu { };
qiling = callPackage ../development/python-modules/qiling { };
qimage2ndarray = callPackage ../development/python-modules/qimage2ndarray { };