mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 12:43:52 +00:00
79e743fe3b
Changelog: https://github.com/Azure/azure-sdk-for-python/blob/azure-eventhub_5.11.5/sdk/eventhub/azure-eventhub/CHANGELOG.md
42 lines
963 B
Nix
42 lines
963 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, azure-core
|
|
, pythonOlder
|
|
, typing-extensions
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "azure-eventhub";
|
|
version = "5.11.5";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-HDdOmQezNIPVCLTHst8p+crGM15dpaGNIYU0+UL01Uw=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|