depot/third_party/nixpkgs/pkgs/development/python-modules/virt-firmware/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

44 lines
818 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, cryptography
, pytestCheckHook
, pefile
}:
buildPythonPackage rec {
pname = "virt-firmware";
version = "24.4";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-rqhaKDOQEOj6bcRz3qZJ+a4yG1qTC9SUjuxMhZlnmwU=";
};
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 ];
};
}