1{ lib, buildPythonPackage, fetchFromGitHub, pyyaml }:
2
3buildPythonPackage rec {
4 pname = "ovmfvartool";
5 version = "unstable-2022-09-04";
6
7 src = fetchFromGitHub {
8 owner = "hlandau";
9 repo = pname;
10 rev = "45e6b1e53967ee6590faae454c076febce096931";
11 hash = "sha256-XbvcE/MXNj5S5N7A7jxdwgEE5yMuB82Xg+PYBsFRIm0=";
12 };
13
14 propagatedBuildInputs = [ pyyaml ];
15
16 # has no tests
17 doCheck = false;
18
19 pythonImportsCheck = [ "ovmfvartool" ];
20
21 meta = with lib; {
22 description = "Parse and generate OVMF_VARS.fd from Yaml";
23 homepage = "https://github.com/hlandau/ovmfvartool";
24 license = licenses.gpl3Plus;
25 maintainers = with maintainers; [ baloo raitobezarius ];
26 };
27}