2019-04-29 22:23:48 +01:00
|
|
|
{ lib
|
2018-10-10 17:26:45 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-09-28 18:14:39 +01:00
|
|
|
, azure-common
|
2018-10-10 17:26:45 +01:00
|
|
|
, azure-mgmt-common
|
2020-09-28 18:14:39 +01:00
|
|
|
, azure-mgmt-core
|
|
|
|
, msrest
|
|
|
|
, msrestazure
|
2019-04-29 22:23:48 +01:00
|
|
|
, isPy3k
|
2018-10-10 17:26:45 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-01-28 02:15:21 +00:00
|
|
|
version = "17.1.0";
|
2018-10-10 17:26:45 +01:00
|
|
|
pname = "azure-mgmt-network";
|
2020-09-28 18:14:39 +01:00
|
|
|
disabled = !isPy3k;
|
2018-10-10 17:26:45 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2021-01-28 02:15:21 +00:00
|
|
|
sha256 = "f47852836a5960447ab534784a9285696969f007744ba030828da2eab92621ab";
|
2018-10-10 17:26:45 +01:00
|
|
|
};
|
|
|
|
|
2019-04-29 22:23:48 +01:00
|
|
|
propagatedBuildInputs = [
|
2020-09-28 18:14:39 +01:00
|
|
|
azure-common
|
|
|
|
azure-mgmt-core
|
|
|
|
msrest
|
|
|
|
msrestazure
|
2019-04-29 22:23:48 +01:00
|
|
|
];
|
2018-10-10 17:26:45 +01:00
|
|
|
|
2019-04-29 22:23:48 +01:00
|
|
|
# has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2020-09-28 18:14:39 +01:00
|
|
|
pythonNamespaces = [ "azure.mgmt" ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "azure.mgmt.network" ];
|
|
|
|
|
2019-04-29 22:23:48 +01:00
|
|
|
meta = with lib; {
|
2018-10-10 17:26:45 +01:00
|
|
|
description = "Microsoft Azure SDK for Python";
|
2019-10-19 17:47:11 +01:00
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
2019-04-29 22:23:48 +01:00
|
|
|
license = licenses.mit;
|
2020-11-15 14:35:46 +00:00
|
|
|
maintainers = with maintainers; [ olcai maxwilson jonringer ];
|
2018-10-10 17:26:45 +01:00
|
|
|
};
|
|
|
|
}
|