1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
setuptools-scm,
pyasn1,
pyasn1-modules,
cryptography,
joblib,
gitpython,
sqlalchemy,
pygount,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "edk2-pytool-library";
version = "0.23.11";
pyproject = true;
src = fetchFromGitHub {
owner = "tianocore";
repo = "edk2-pytool-library";
tag = "v${version}";
hash = "sha256-bKyNB2vWhOV6X0BUtoLVaYxAl91UpiRSRPcRywuhkQY=";
};
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;
};
}
|