e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
44 lines
819 B
Nix
44 lines
819 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, setuptools
|
|
, cryptography
|
|
, pytestCheckHook
|
|
, pefile
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "virt-firmware";
|
|
version = "23.11";
|
|
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-9HA87J01M9VGCHdcmdlA50AikXG8vYHDw/5ig8h9YXc=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|