Merge pull request #250080 from NickCao/edk2-pytool-library

python310Packages.edk2-pytool-library: 0.16.2 -> 0.17.0
This commit is contained in:
Nick Cao 2023-08-23 10:17:42 +08:00 committed by GitHub
commit 208ce97d5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 57 additions and 2 deletions

View File

@ -3,33 +3,46 @@
, fetchFromGitHub
, setuptools
, setuptools-scm
, pythonRelaxDepsHook
, pyasn1
, pyasn1-modules
, cryptography
, tinydb
, joblib
, tinyrecord
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "edk2-pytool-library";
version = "0.16.2";
version = "0.17.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "tianocore";
repo = "edk2-pytool-library";
rev = "v${version}";
hash = "sha256-JL9znvXl+RIEzycKhXkggEJ87bQ+UzspBD1YM3AoYlc=";
hash = "sha256-US9m7weW11+VxX6ZsKP5tYKp+bQoiI+TZ3YWE97D/f0=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
pythonRelaxDepsHook
];
pythonRelaxDeps = [
"tinydb"
"joblib"
];
propagatedBuildInputs = [
pyasn1
pyasn1-modules
cryptography
tinydb
joblib
tinyrecord
];
nativeCheckInputs = [

View File

@ -0,0 +1,40 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, tinydb
}:
buildPythonPackage rec {
pname = "tinyrecord";
version = "0.2.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "eugene-eeo";
repo = "tinyrecord";
rev = "refs/tags/v${version}";
hash = "sha256-mF4hpHuNyiQ5DurRnyLck5e/Vp26GCLkhD8eeSB4NYs=";
};
nativeCheckInputs = [
pytestCheckHook
tinydb
];
pytestFlagsArray = [
"tests.py"
];
pythonImportsCheck = [
"tinyrecord"
];
meta = with lib; {
description = "Transaction support for TinyDB";
homepage = "https://github.com/eugene-eeo/tinyrecord";
changelog = "https://github.com/eugene-eeo/tinyrecord/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ nickcao ];
};
}

View File

@ -12743,6 +12743,8 @@ self: super: with self; {
tinyobjloader-py = callPackage ../development/python-modules/tinyobjloader-py { };
tinyrecord = callPackage ../development/python-modules/tinyrecord { };
tissue = callPackage ../development/python-modules/tissue { };
titlecase = callPackage ../development/python-modules/titlecase { };