Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / ovmfvartool / default.nix
blobfd15a3a12a4f49d6276ab08e2970b9d973ec3a07
1 { lib, buildPythonPackage, fetchFromGitHub, pyyaml }:
3 buildPythonPackage rec {
4   pname = "ovmfvartool";
5   version = "unstable-2022-09-04";
6   format = "setuptools";
8   src = fetchFromGitHub {
9     owner = "hlandau";
10     repo = pname;
11     rev = "45e6b1e53967ee6590faae454c076febce096931";
12     hash = "sha256-XbvcE/MXNj5S5N7A7jxdwgEE5yMuB82Xg+PYBsFRIm0=";
13   };
15   propagatedBuildInputs = [ pyyaml ];
17   # has no tests
18   doCheck = false;
20   pythonImportsCheck = [ "ovmfvartool" ];
22   meta = with lib; {
23     description = "Parse and generate OVMF_VARS.fd from Yaml";
24     mainProgram = "ovmfvartool";
25     homepage = "https://github.com/hlandau/ovmfvartool";
26     license = licenses.gpl3Plus;
27     maintainers = with maintainers; [ baloo raitobezarius ];
28   };