depot/third_party/nixpkgs/pkgs/development/python-modules/azure-servicebus/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

47 lines
994 B
Nix

{
lib,
azure-common,
azure-core,
buildPythonPackage,
fetchPypi,
isodate,
msrest,
pythonOlder,
typing-extensions,
uamqp,
}:
buildPythonPackage rec {
pname = "azure-servicebus";
version = "7.12.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-sRv1aer3fDDYp2+IuTwIcT/TYYjZzG2r9x6tsQ63Qvk=";
};
propagatedBuildInputs = [
azure-common
azure-core
isodate
msrest
typing-extensions
uamqp
];
# Tests require dev-tools
doCheck = false;
pythonImportsCheck = [ "azure.servicebus" ];
meta = with lib; {
description = "Microsoft Azure Service Bus Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-servicebus_${version}/sdk/servicebus/azure-servicebus/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ maxwilson ];
};
}