1{ lib
2, buildPythonPackage
3, fetchPypi
4, msrest
5, msrestazure
6, azure-common
7, azure-mgmt-core
8, azure-mgmt-nspkg
9, isPy3k
10}:
11
12buildPythonPackage rec {
13 pname = "azure-mgmt-eventgrid";
14 version = "8.0.0";
15
16 src = fetchPypi {
17 inherit pname version;
18 extension = "zip";
19 sha256 = "a8a6e1bb105a14f1d3545ecb07c190370f21a145f8ba51599ed169f1dc8d5dcc";
20 };
21
22 propagatedBuildInputs = [
23 msrest
24 msrestazure
25 azure-mgmt-core
26 azure-common
27 ] ++ lib.optionals (!isPy3k) [
28 azure-mgmt-nspkg
29 ];
30
31 # has no tests
32 doCheck = false;
33 pythonImportsCheck = [ "azure.mgmt.eventgrid" ];
34
35 meta = with lib; {
36 description = "This is the Microsoft Azure EventGrid Management Client Library";
37 homepage = "https://github.com/Azure/azure-sdk-for-python";
38 license = licenses.mit;
39 maintainers = with maintainers; [ maxwilson ];
40 };
41}