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