pythonPackages.azure-mgmt-eventhub: init at 2.6.0

This commit is contained in:
Max Wilson 2019-04-29 18:41:33 -04:00 committed by Wael M. Nasreddine
parent fcbd76193d
commit 0652652f9a
No known key found for this signature in database
GPG Key ID: FD437548E0BF0F5F
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, fetchPypi
, msrest
, msrestazure
, azure-common
, azure-mgmt-nspkg
, isPy3k
}:
buildPythonPackage rec {
pname = "azure-mgmt-eventhub";
version = "2.6.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1nnp2ki4iz4f4897psmwb0v5khrwh84fgxja7nl7g73g3ym20sz8";
};
propagatedBuildInputs = [
msrest
msrestazure
azure-common
] ++ lib.optionals (!isPy3k) [
azure-mgmt-nspkg
];
# has no tests
doCheck = false;
meta = with lib; {
description = "This is the Microsoft Azure EventHub Management Client Library";
homepage = https://docs.microsoft.com/en-us/python/api/overview/azure/event-hub?view=azure-python;
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};
}

View File

@ -326,6 +326,8 @@ in {
azure-mgmt-eventgrid = callPackage ../development/python-modules/azure-mgmt-eventgrid { };
azure-mgmt-eventhub = callPackage ../development/python-modules/azure-mgmt-eventhub { };
azure-mgmt-network = callPackage ../development/python-modules/azure-mgmt-network { };
azure-mgmt-nspkg = callPackage ../development/python-modules/azure-mgmt-nspkg { };