nixpkgs/pkgs/development/python-modules/azure-mgmt-kusto/default.nix
2024-04-10 10:20:11 +02:00

49 lines
980 B
Nix

{ lib
, azure-common
, azure-mgmt-core
, buildPythonPackage
, fetchPypi
, isodate
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "azure-mgmt-kusto";
version = "3.3.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-PmGGtyVrYFCMnpiCq9x9uwoMboDO1ePlGAJzrMTj3ps=";
};
build-system = [
setuptools
];
dependencies = [
azure-common
azure-mgmt-core
isodate
];
# no tests included
doCheck = false;
pythonImportsCheck = [
"azure.common"
"azure.mgmt.kusto"
];
meta = with lib; {
description = "Microsoft Azure Kusto Management Client Library for Python";
homepage = "https://github.com/Azure/azure-sdk-for-python";
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-kusto_${version}/sdk/kusto/azure-mgmt-kusto/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};
}