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