From 48c4f5c2b8b23653d82097a78c7e5762957bbc05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 11 May 2022 00:29:04 +0000 Subject: [PATCH 1/3] python3Packages.azure-eventhub: 5.7.0 -> 5.9.0 https://github.com/Azure/azure-sdk-for-python/blob/azure-eventhub_5.9.0/sdk/eventhub/azure-eventhub/CHANGELOG.md --- pkgs/development/python-modules/azure-eventhub/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-eventhub/default.nix b/pkgs/development/python-modules/azure-eventhub/default.nix index de3ddb803aa..c09ff87522a 100644 --- a/pkgs/development/python-modules/azure-eventhub/default.nix +++ b/pkgs/development/python-modules/azure-eventhub/default.nix @@ -7,12 +7,12 @@ buildPythonPackage rec { pname = "azure-eventhub"; - version = "5.7.0"; + version = "5.9.0"; src = fetchPypi { inherit pname version; extension = "zip"; - sha256 = "6ac364e5f1c5b376604c3b5a25ad0be5e3a5f96368f590e05b47e6745f1006ee"; + sha256 = "509c6b351db0c1674a7c33308e6ffebc5a9bd2b0a9d10bcb2fa3d0a3a47d42d0"; }; propagatedBuildInputs = [ @@ -31,6 +31,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 ]; }; From 0fd6a3a981ffeb74db42b3fdf35f0f70d819b4cf Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 11 May 2022 08:39:15 +0200 Subject: [PATCH 2/3] python3Packages.azure-eventhub: disable on older Python releases --- pkgs/development/python-modules/azure-eventhub/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/azure-eventhub/default.nix b/pkgs/development/python-modules/azure-eventhub/default.nix index c09ff87522a..175b48dfcb1 100644 --- a/pkgs/development/python-modules/azure-eventhub/default.nix +++ b/pkgs/development/python-modules/azure-eventhub/default.nix @@ -3,11 +3,15 @@ , fetchPypi , azure-core , uamqp +, pythonOlder }: buildPythonPackage rec { pname = "azure-eventhub"; version = "5.9.0"; + format = "setuptools"; + + disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; From 71fb057021baa6c2bdb85e2276e511aad434f649 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 11 May 2022 08:41:53 +0200 Subject: [PATCH 3/3] python3Packages.azure-eventhub: add missing imput --- pkgs/development/python-modules/azure-eventhub/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/azure-eventhub/default.nix b/pkgs/development/python-modules/azure-eventhub/default.nix index 175b48dfcb1..feafb56323c 100644 --- a/pkgs/development/python-modules/azure-eventhub/default.nix +++ b/pkgs/development/python-modules/azure-eventhub/default.nix @@ -4,6 +4,7 @@ , azure-core , uamqp , pythonOlder +, typing-extensions }: buildPythonPackage rec { @@ -22,6 +23,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ azure-core uamqp + typing-extensions ]; # too complicated to set up