Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / virt-firmware / default.nix
blob8f2f0c07360984e65939df412a80e4db751addf4
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , setuptools
5 , cryptography
6 , pytestCheckHook
7 , pefile
8 }:
10 buildPythonPackage rec {
11   pname = "virt-firmware";
12   version = "24.2";
14   pyproject = true;
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-bvk3MIgPY6DJ+y0eKQHLffClNjPAEP7AJ15rFObiMig=";
19   };
21   pythonImportsCheck = [ "virt.firmware.efi" ];
23   nativeBuildInputs = [
24     setuptools
25   ];
27   nativeCheckInputs = [
28     pytestCheckHook
29   ];
30   pytestFlagsArray = ["tests/tests.py"];
32   propagatedBuildInputs = [
33     setuptools
34     cryptography
35     pefile
36   ];
38   meta = with lib; {
39     description = "Tools for virtual machine firmware volumes";
40     homepage = "https://gitlab.com/kraxel/virt-firmware";
41     license = licenses.gpl2;
42     maintainers = with maintainers; [ lheckemann raitobezarius ];
43   };