1{
2 lib,
3 azure-common,
4 azure-mgmt-core,
5 buildPythonPackage,
6 fetchPypi,
7 isodate,
8 pythonOlder,
9 setuptools,
10}:
11
12buildPythonPackage rec {
13 pname = "azure-mgmt-kusto";
14 version = "3.4.0";
15 pyproject = true;
16
17 disabled = pythonOlder "3.9";
18
19 src = fetchPypi {
20 pname = "azure_mgmt_kusto";
21 inherit version;
22 hash = "sha256-K8keApefYp/u7cTZuWNYhltVlFethunG+ccJpAgyDmM=";
23 };
24
25 build-system = [ setuptools ];
26
27 dependencies = [
28 azure-common
29 azure-mgmt-core
30 isodate
31 ];
32
33 # no tests included
34 doCheck = false;
35
36 pythonImportsCheck = [
37 "azure.common"
38 "azure.mgmt.kusto"
39 ];
40
41 meta = with lib; {
42 description = "Microsoft Azure Kusto Management Client Library for Python";
43 homepage = "https://github.com/Azure/azure-sdk-for-python";
44 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-kusto_${version}/sdk/kusto/azure-mgmt-kusto/CHANGELOG.md";
45 license = licenses.mit;
46 maintainers = [ ];
47 };
48}