1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
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 format = "setuptools";
17
18 src = fetchPypi {
19 inherit pname version;
20 extension = "zip";
21 sha256 = "d8160d93fd3d947e5613c6919176b0edf72c94ac69679ea3b92cf27ff7398e64";
22 };
23
24 propagatedBuildInputs = [
25 msrest
26 msrestazure
27 azure-common
28 azure-mgmt-core
29 ]
30 ++ lib.optionals (!isPy3k) [ azure-mgmt-nspkg ];
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; [
42 maxwilson
43 ];
44 };
45}