python311Packages.virt-firmware: init at 23.10 (#267914)

This commit is contained in:
Linus Heckemann 2023-12-11 16:34:10 +01:00 committed by GitHub
parent 2cbcae390b
commit 1a6dc4263a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, cryptography
, pytestCheckHook
, pefile
}:
buildPythonPackage rec {
pname = "virt-firmware";
version = "23.10";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-orTIduS4KVH4nTSRcOnn2+Tqeyd4OMnnN2+AK5p1xtM=";
};
pythonImportsCheck = [ "virt.firmware.efi" ];
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
];
pytestFlagsArray = ["tests/tests.py"];
propagatedBuildInputs = [
cryptography
pefile
];
meta = with lib; {
description = "Tools for virtual machine firmware volumes";
homepage = "https://gitlab.com/kraxel/virt-firmware";
license = licenses.gpl2;
maintainers = with maintainers; [ lheckemann raitobezarius ];
};
}

View File

@ -15687,6 +15687,8 @@ self: super: with self; {
vine = callPackage ../development/python-modules/vine { };
virt-firmware = callPackage ../development/python-modules/virt-firmware { };
virtkey = callPackage ../development/python-modules/virtkey { };
virtualenv = callPackage ../development/python-modules/virtualenv { };