depot/third_party/nixpkgs/pkgs/development/python-modules/azure-eventhub/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

37 lines
767 B
Nix

{ 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 ];
};
}