23b612e36f
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
44 lines
820 B
Nix
44 lines
820 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, setuptools
|
|
, cryptography
|
|
, pytestCheckHook
|
|
, pefile
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "virt-firmware";
|
|
version = "24.1.1";
|
|
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-dUDfDQypP8hCo4eZcnUsOovgMksSX7hxMQI8mliCx2c=";
|
|
};
|
|
|
|
pythonImportsCheck = [ "virt.firmware.efi" ];
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
pytestFlagsArray = ["tests/tests.py"];
|
|
|
|
propagatedBuildInputs = [
|
|
setuptools
|
|
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 ];
|
|
};
|
|
}
|