mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-06 21:33:45 +00:00
Diff: https://github.com/microsoftgraph/msgraph-sdk-python-core/compare/v1.3.8...v1.4.0 Changelog: https://github.com/microsoftgraph/msgraph-sdk-python-core/releases/tag/v1.4.0
57 lines
1.3 KiB
Nix
57 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
python-dotenv,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
httpx,
|
|
microsoft-kiota-abstractions,
|
|
microsoft-kiota-authentication-azure,
|
|
microsoft-kiota-http,
|
|
microsoft-kiota-serialization-json,
|
|
azure-identity,
|
|
pytest-asyncio,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "msgraph-core";
|
|
version = "1.4.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "microsoftgraph";
|
|
repo = "msgraph-sdk-python-core";
|
|
tag = "v${version}";
|
|
hash = "sha256-1fgLW6tpaDMOIaAU92ty9JYx/bZxDs4VjNPDCPIze/A=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
httpx
|
|
microsoft-kiota-abstractions
|
|
microsoft-kiota-authentication-azure
|
|
microsoft-kiota-http
|
|
]
|
|
++ httpx.optional-dependencies.http2;
|
|
|
|
nativeCheckInputs = [
|
|
azure-identity
|
|
microsoft-kiota-serialization-json
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
python-dotenv
|
|
];
|
|
|
|
pythonImportsCheck = [ "msgraph_core" ];
|
|
|
|
meta = {
|
|
description = "Core component of the Microsoft Graph Python SDK";
|
|
homepage = "https://github.com/microsoftgraph/msgraph-sdk-python-core";
|
|
changelog = "https://github.com/microsoftgraph/msgraph-sdk-python-core/releases/tag/${src.tag}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|