forked from mirrors/nixpkgs
Merge pull request #232383 from NickCao/edk2-pytool-library
python3Packages.edk2-pytool-library: init at 0.14.1
This commit is contained in:
commit
5c92b3ab83
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, setuptools-scm
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "edk2-pytool-library";
|
||||
version = "0.14.1";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tianocore";
|
||||
repo = "edk2-pytool-library";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-l3ZM2xxZrFz7n/uLSd994l+mGJDi4Qw4C2Lg2uyttL8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
pythonImportsCheck = [ "edk2toollib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library package that supports UEFI development";
|
||||
homepage = "https://github.com/tianocore/edk2-pytool-library";
|
||||
license = licenses.bsd2Patent;
|
||||
maintainers = with maintainers; [ nickcao ];
|
||||
};
|
||||
}
|
|
@ -3115,6 +3115,8 @@ self: super: with self; {
|
|||
|
||||
editorconfig = callPackage ../development/python-modules/editorconfig { };
|
||||
|
||||
edk2-pytool-library = callPackage ../development/python-modules/edk2-pytool-library { };
|
||||
|
||||
edlib = callPackage ../development/python-modules/edlib {
|
||||
inherit (pkgs) edlib;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue