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