depot/third_party/nixpkgs/pkgs/development/python-modules/azure-servicebus/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

50 lines
892 B
Nix

{ lib
, azure-common
, azure-core
, buildPythonPackage
, fetchPypi
, isodate
, msrestazure
, pythonOlder
, six
, typing-extensions
, uamqp
}:
buildPythonPackage rec {
pname = "azure-servicebus";
version = "7.10.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
extension = "zip";
hash = "sha256-ANEJ5aLqfHX/OGO41FNjCqr9S6UygQMrGMQvMtR3z/Q=";
};
propagatedBuildInputs = [
azure-common
azure-core
isodate
msrestazure
six
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";
license = licenses.mit;
maintainers = with maintainers; [ maxwilson ];
};
}