python312Packages.azure-mgmt-servicebus: modernize

This commit is contained in:
dish
2024-12-05 12:46:59 -05:00
parent 9e7fccbc7c
commit 548c320a5e
@@ -5,15 +5,13 @@
msrest,
azure-common,
azure-mgmt-core,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "azure-mgmt-servicebus";
version = "8.2.0";
format = "setuptools";
disabled = pythonOlder "3.7";
pyproject = true;
src = fetchPypi {
inherit pname version;
@@ -21,7 +19,9 @@ buildPythonPackage rec {
hash = "sha256-i+kgjxQdmnifaNuNIZdU/3gGn9j5OQ6fdkS7laO+nsI=";
};
propagatedBuildInputs = [
build-system = [ setuptools ];
dependencies = [
msrest
azure-common
azure-mgmt-core
@@ -30,10 +30,14 @@ buildPythonPackage rec {
# Module has no tests
doCheck = false;
meta = with lib; {
pythonNamespaces = [ "azure.mgmt" ];
pythonImportsCheck = [ "azure.mgmt.servicebus" ];
meta = {
description = "This is the Microsoft Azure Service Bus Management Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ maxwilson ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ maxwilson ];
};
}