python3Packages.azure-kusto-data: init at 4.6.1

This commit is contained in:
dish 2024-11-26 17:07:43 -05:00
parent 127fb39fb6
commit 54f25b8587
No known key found for this signature in database
2 changed files with 61 additions and 0 deletions

View File

@ -0,0 +1,59 @@
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
python-dateutil,
requests,
azure-identity,
msal,
ijson,
azure-core,
asgiref,
aiohttp,
pandas,
}:
buildPythonPackage rec {
pname = "azure-kusto-data";
version = "4.6.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-tfOnb6rFjTzg4af26gK5gk1185mejAiaDvetE/r4L0Q=";
};
build-system = [ setuptools ];
dependencies = [
python-dateutil
requests
azure-identity
msal
ijson
azure-core
];
optional-dependencies = {
pandas = [ pandas ];
aio = [
aiohttp
asgiref
];
};
# Tests require secret connection strings
# and a network connection.
doCheck = false;
pythonImportsCheck = [ "azure.kusto.data" ];
meta = {
changelog = "https://github.com/Azure/azure-kusto-python/releases/tag/v${version}";
description = "Kusto Data Client";
homepage = "https://github.com/Azure/azure-kusto-python";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ pyrox0 ];
};
}

View File

@ -1173,6 +1173,8 @@ self: super: with self; {
azure-keyvault-secrets = callPackage ../development/python-modules/azure-keyvault-secrets { };
azure-kusto-data = callPackage ../development/python-modules/azure-kusto-data { };
azure-loganalytics = callPackage ../development/python-modules/azure-loganalytics { };
azure-mgmt-advisor = callPackage ../development/python-modules/azure-mgmt-advisor { };