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