94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
50 lines
892 B
Nix
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 ];
|
|
};
|
|
}
|