mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 20:44:12 +00:00
python311Packages.virt-firmware: init at 23.10 (#267914)
This commit is contained in:
parent
2cbcae390b
commit
1a6dc4263a
43
pkgs/development/python-modules/virt-firmware/default.nix
Normal file
43
pkgs/development/python-modules/virt-firmware/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user