python3Packages.azure-kusto-data: init at 4.6.1
This commit is contained in:
parent
127fb39fb6
commit
54f25b8587
59
pkgs/development/python-modules/azure-kusto-data/default.nix
Normal file
59
pkgs/development/python-modules/azure-kusto-data/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user