Files
nixpkgs/pkgs/development/python-modules/azure-eventhub/default.nix
T
Weijia Wang 122e0479cc Merge pull request #312812 from r-ryantm/auto-update/python311Packages.azure-eventhub
python311Packages.azure-eventhub: 5.11.7 -> 5.12.0
2024-06-02 17:50:52 +02:00

46 lines
1019 B
Nix

{
lib,
azure-core,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools,
typing-extensions,
}:
buildPythonPackage rec {
pname = "azure-eventhub";
version = "5.12.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-EqF/V51puTDZBuqVeuzEVoJ0/xrQn8qhiLt7/pvpsXY=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
azure-core
typing-extensions
];
# too complicated to set up
doCheck = false;
pythonImportsCheck = [
"azure.eventhub"
"azure.eventhub.aio"
];
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 ];
};
}