mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-15 01:33:50 +00:00
62 lines
1.2 KiB
Nix
62 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
setuptools-scm,
|
|
pyasn1,
|
|
pyasn1-modules,
|
|
cryptography,
|
|
joblib,
|
|
gitpython,
|
|
sqlalchemy,
|
|
pygount,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "edk2-pytool-library";
|
|
version = "0.23.13";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tianocore";
|
|
repo = "edk2-pytool-library";
|
|
tag = "v${version}";
|
|
hash = "sha256-kXDdUKOs5+1LKqVnGAd1G6pD4IZkAsuNfJPDWj/ffkg=";
|
|
};
|
|
|
|
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 = {
|
|
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 = lib.licenses.bsd2Patent;
|
|
maintainers = with lib.maintainers; [ nickcao ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|