1{ pkgs
2, buildPythonPackage
3, fetchPypi
4, azure-mgmt-core
5, azure-mgmt-common
6, isPy3k
7}:
8
9
10buildPythonPackage rec {
11 version = "20.0.0";
12 pname = "azure-mgmt-resource";
13 disabled = !isPy3k;
14
15 src = fetchPypi {
16 inherit pname version;
17 extension = "zip";
18 sha256 = "622dca4484be64f9f5ce335d327dffabf3e71e14e8a3f4a1051dc85a5c3ebbca";
19 };
20
21 propagatedBuildInputs = [
22 azure-mgmt-common
23 azure-mgmt-core
24 ];
25
26 # has no tests
27 doCheck = false;
28
29 pythonNamespaces = [ "azure.mgmt" ];
30
31 pythonImportsCheck = [ "azure.mgmt.resource" ];
32
33 meta = with pkgs.lib; {
34 description = "Microsoft Azure SDK for Python";
35 homepage = "https://github.com/Azure/azure-sdk-for-python";
36 license = licenses.mit;
37 maintainers = with maintainers; [ olcai maxwilson jonringer ];
38 };
39}