python311Packages.microsoft-kiota-abstractions: init at 1.2.0
Abstractions library for Kiota generated Python clients https://github.com/microsoft/kiota-abstractions-python
This commit is contained in:
parent
047bc33866
commit
67390d0b0f
|
@ -0,0 +1,55 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, flit-core
|
||||
, opentelemetry-api
|
||||
, opentelemetry-sdk
|
||||
, pytest-asyncio
|
||||
, pytest-mock
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, std-uritemplate
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "microsoft-kiota-abstractions";
|
||||
version = "1.2.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "microsoft";
|
||||
repo = "kiota-abstractions-python";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-ubDbpQhrqoyiBNne15nlO44lXg2wG+wrL8EJasMUocc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
flit-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
opentelemetry-api
|
||||
opentelemetry-sdk
|
||||
std-uritemplate
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytest-mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"kiota_abstractions"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Abstractions library for Kiota generated Python clients";
|
||||
homepage = "https://github.com/microsoft/kiota-abstractions-python";
|
||||
changelog = "https://github.com/microsoft/kiota-abstractions-python/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -7180,6 +7180,8 @@ self: super: with self; {
|
|||
|
||||
microdata = callPackage ../development/python-modules/microdata { };
|
||||
|
||||
microsoft-kiota-abstractions = callPackage ../development/python-modules/microsoft-kiota-abstractions { };
|
||||
|
||||
midiutil = callPackage ../development/python-modules/midiutil { };
|
||||
|
||||
mido = callPackage ../development/python-modules/mido { };
|
||||
|
|
Loading…
Reference in New Issue
Block a user