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 { lib
, azure-core
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, azure-core
, pythonOlder , pythonOlder
, setuptools
, typing-extensions , typing-extensions
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "azure-eventhub"; pname = "azure-eventhub";
version = "5.11.6"; version = "5.11.6";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.8";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-89Q1o/cnR64i4Jblypx2w1BTTyrZk5l9EvTO+ZMq58E="; hash = "sha256-89Q1o/cnR64i4Jblypx2w1BTTyrZk5l9EvTO+ZMq58E=";
}; };
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [ propagatedBuildInputs = [
azure-core azure-core
typing-extensions typing-extensions