python311Packages.azure-eventhub: refactor

This commit is contained in:
Fabian Affolter 2024-02-25 22:32:38 +01:00
parent a0b82650a8
commit 4836d98cfd

View file

@ -1,23 +1,28 @@
{ lib
, azure-core
, buildPythonPackage
, fetchPypi
, azure-core
, pythonOlder
, setuptools
, typing-extensions
}:
buildPythonPackage rec {
pname = "azure-eventhub";
version = "5.11.6";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-89Q1o/cnR64i4Jblypx2w1BTTyrZk5l9EvTO+ZMq58E=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
azure-core
typing-extensions