diff --git a/pkgs/development/python-modules/azure-eventhub/default.nix b/pkgs/development/python-modules/azure-eventhub/default.nix index de3ddb803aa5..feafb56323cc 100644 --- a/pkgs/development/python-modules/azure-eventhub/default.nix +++ b/pkgs/development/python-modules/azure-eventhub/default.nix @@ -3,21 +3,27 @@ , fetchPypi , azure-core , uamqp +, pythonOlder +, typing-extensions }: buildPythonPackage rec { pname = "azure-eventhub"; - version = "5.7.0"; + version = "5.9.0"; + format = "setuptools"; + + disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; extension = "zip"; - sha256 = "6ac364e5f1c5b376604c3b5a25ad0be5e3a5f96368f590e05b47e6745f1006ee"; + sha256 = "509c6b351db0c1674a7c33308e6ffebc5a9bd2b0a9d10bcb2fa3d0a3a47d42d0"; }; propagatedBuildInputs = [ azure-core uamqp + typing-extensions ]; # too complicated to set up @@ -31,6 +37,7 @@ buildPythonPackage rec { meta = with lib; { description = "Microsoft Azure Event Hubs Client Library for Python"; homepage = "https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/eventhub/azure-eventhub"; + changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-eventhub_${version}/sdk/eventhub/azure-eventhub/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ dotlambda ]; };