Files
nixpkgs/pkgs/development/python-modules/azure-mgmt-loganalytics/default.nix

48 lines
934 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
msrest,
msrestazure,
azure-common,
azure-mgmt-core,
}:
buildPythonPackage (finalAttrs: {
pname = "azure-mgmt-loganalytics";
version = "12.0.0";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
inherit (finalAttrs) pname version;
extension = "zip";
hash = "sha256-2hKKfgKRvn+iBjhI35KpGAz1wW1CrcCdK8Lv1xFTa/s=";
};
build-system = [ setuptools ];
dependencies = [
msrest
msrestazure
azure-common
azure-mgmt-core
];
pythonNamespaces = [ "azure.mgmt" ];
# has no tests
doCheck = false;
pythonImportsCheck = [ "azure.mgmt.loganalytics" ];
meta = {
description = "This is the Microsoft Azure Log Analytics Management Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ maxwilson ];
};
})