2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-10-07 09:15:18 +00:00
|
|
|
, azure-common
|
2020-04-24 23:36:52 +00:00
|
|
|
, azure-mgmt-common
|
2020-10-07 09:15:18 +00:00
|
|
|
, azure-mgmt-core
|
|
|
|
, msrest
|
|
|
|
, msrestazure
|
2020-04-24 23:36:52 +00:00
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-10-07 09:15:18 +00:00
|
|
|
version = "16.0.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "azure-mgmt-network";
|
2020-10-07 09:15:18 +00:00
|
|
|
disabled = !isPy3k;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2020-10-07 09:15:18 +00:00
|
|
|
sha256 = "6159a8c44590cc58841690c27c7d4acb0cd9ad0a1e5178c1d35e0f48e3c3c0e9";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2020-10-07 09:15:18 +00:00
|
|
|
azure-common
|
|
|
|
azure-mgmt-core
|
|
|
|
msrest
|
|
|
|
msrestazure
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2020-10-07 09:15:18 +00:00
|
|
|
pythonNamespaces = [ "azure.mgmt" ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "azure.mgmt.network" ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Microsoft Azure SDK for Python";
|
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
|
|
|
license = licenses.mit;
|
2020-10-07 09:15:18 +00:00
|
|
|
maintainers = with maintainers; [ olcai mwilsoninsight jonringer ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|