Merge pull request #126972 from dotlambda/azure-eventhub-init

This commit is contained in:
Sandro 2021-06-16 03:10:01 +02:00 committed by GitHub
commit fda3bb6c21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 41 additions and 1 deletions

View file

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchPypi
, azure-core
, uamqp
}:
buildPythonPackage rec {
pname = "azure-eventhub";
version = "5.5.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "7b757b4910ac74902564b38089b9861c1bc51ff15bd49ff056888f939f7c4c49";
};
propagatedBuildInputs = [
azure-core
uamqp
];
# 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";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}

View file

@ -69,7 +69,7 @@
"aws" = ps: with ps; [ aiobotocore ];
"axis" = ps: with ps; [ aiohttp-cors axis paho-mqtt ];
"azure_devops" = ps: with ps; [ ]; # missing inputs: aioazuredevops
"azure_event_hub" = ps: with ps; [ ]; # missing inputs: azure-eventhub
"azure_event_hub" = ps: with ps; [ azure-eventhub ];
"azure_service_bus" = ps: with ps; [ azure-servicebus ];
"baidu" = ps: with ps; [ ]; # missing inputs: baidu-aip
"bayesian" = ps: with ps; [ ];

View file

@ -303,6 +303,7 @@ in with py.pkgs; buildPythonApplication rec {
"awair"
"aws"
"axis"
"azure_event_hub"
"bayesian"
"binary_sensor"
"blackbird"

View file

@ -725,6 +725,8 @@ in {
azure-eventgrid = callPackage ../development/python-modules/azure-eventgrid { };
azure-eventhub = callPackage ../development/python-modules/azure-eventhub { };
azure-functions-devops-build = callPackage ../development/python-modules/azure-functions-devops-build { };
azure-graphrbac = callPackage ../development/python-modules/azure-graphrbac { };