fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
37 lines
778 B
Nix
37 lines
778 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pyyaml,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ovmfvartool";
|
|
version = "unstable-2022-09-04";
|
|
format = "setuptools";
|
|
|
|
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";
|
|
mainProgram = "ovmfvartool";
|
|
homepage = "https://github.com/hlandau/ovmfvartool";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [
|
|
baloo
|
|
raitobezarius
|
|
];
|
|
};
|
|
}
|