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 {
|
2020-12-06 21:56:03 +00:00
|
|
|
version = "17.0.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";
|
2020-12-06 21:56:03 +00:00
|
|
|
sha256 = "3694f2675e152afccb1588a6cc7bb4b4795d442a4e5d7082cdf1f4e32a779199";
|
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
|
|
|
};
|
|
|
|
}
|