mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
51 lines
891 B
Nix
51 lines
891 B
Nix
{ lib
|
|
, azure-common
|
|
, azure-core
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isodate
|
|
, msrestazure
|
|
, pythonOlder
|
|
, six
|
|
, typing-extensions
|
|
, uamqp
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "azure-servicebus";
|
|
version = "7.7.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
extension = "zip";
|
|
hash = "sha256-D9CdVfPU7FwiAQd2Pw/CMJsHj8psYtVq3wYJlVHVA1s=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|