depot/third_party/nixpkgs/pkgs/development/python-modules/ovmfvartool/default.nix
Default email 7bc014aa9c Project import generated by Copybara.
GitOrigin-RevId: c97e777ff06fcb8d37dcdf5e21e9eff1f34f0e90
2022-09-11 12:47:08 -03:00

27 lines
695 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub, pyyaml }:
buildPythonPackage rec {
pname = "ovmfvartool";
version = "unstable-2022-09-04";
src = fetchFromGitHub {
owner = "hlandau";
repo = pname;
rev = "45e6b1e53967ee6590faae454c076febce096931";
hash = "sha256-XbvcE/MXNj5S5N7A7jxdwgEE5yMuB82Xg+PYBsFRIm0=";
};
propagatedBuildInputs = [ pyyaml ];
# has no tests
doCheck = false;
pythonImportsCheck = [ "ovmfvartool" ];
meta = with lib; {
description = "Parse and generate OVMF_VARS.fd from Yaml";
homepage = "https://github.com/hlandau/ovmfvartool";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ baloo raitobezarius ];
};
}