Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

65 lines
1.2 KiB
Nix

{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
setuptools,
setuptools-scm,
pyasn1,
pyasn1-modules,
cryptography,
joblib,
gitpython,
sqlalchemy,
pygount,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "edk2-pytool-library";
version = "0.23.8";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "tianocore";
repo = "edk2-pytool-library";
tag = "v${version}";
hash = "sha256-JSOijiH/de/bItNt7yNu8+P21rI7YqiTf54zV2Ij5Gs=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
pyasn1
pyasn1-modules
cryptography
joblib
gitpython
sqlalchemy
pygount
];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [
# requires network access
"test_basic_parse"
];
pythonImportsCheck = [ "edk2toollib" ];
meta = with lib; {
description = "Python library package that supports UEFI development";
homepage = "https://github.com/tianocore/edk2-pytool-library";
changelog = "https://github.com/tianocore/edk2-pytool-library/releases/tag/${src.tag}";
license = licenses.bsd2Patent;
maintainers = with maintainers; [ nickcao ];
platforms = platforms.linux;
};
}