python312Packages.azure-mgmt-servicebus: modernize

pyrox.dev 548c320a 9e7fccbc

verified
Changed files
+12 -8
pkgs
development
python-modules
azure-mgmt-servicebus
+12 -8
pkgs/development/python-modules/azure-mgmt-servicebus/default.nix
···
msrest,
azure-common,
azure-mgmt-core,
-
pythonOlder,
}:
buildPythonPackage rec {
pname = "azure-mgmt-servicebus";
version = "8.2.0";
-
format = "setuptools";
-
-
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
···
hash = "sha256-i+kgjxQdmnifaNuNIZdU/3gGn9j5OQ6fdkS7laO+nsI=";
};
-
propagatedBuildInputs = [
msrest
azure-common
azure-mgmt-core
···
# Module has no tests
doCheck = false;
-
meta = with lib; {
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 ];
};
}
···
msrest,
azure-common,
azure-mgmt-core,
+
setuptools,
}:
buildPythonPackage rec {
pname = "azure-mgmt-servicebus";
version = "8.2.0";
+
pyproject = true;
src = fetchPypi {
inherit pname version;
···
hash = "sha256-i+kgjxQdmnifaNuNIZdU/3gGn9j5OQ6fdkS7laO+nsI=";
};
+
build-system = [ setuptools ];
+
+
dependencies = [
msrest
azure-common
azure-mgmt-core
···
# Module has no tests
doCheck = false;
+
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 = lib.licenses.mit;
+
maintainers = with lib.maintainers; [ maxwilson ];
};
}